#C628E2 Color Information
Hex color code: #C628E2
A eye-catching magenta shade, #C628E2 appears as (198, 40, 226) in RGB and (291°, 76%, 52%) in HSL. It is widely used in graphic design.
Shades
color: #C628E2; background-color: #C628E2; border-color: #C628E2; box-shadow: 0 0 10px #C628E2; border: 2px solid #C628E2;
bg-[#C628E2] text-[#C628E2] border-[#C628E2] shadow-[0_0_10px_C628E2]
Generate Gradient
background: linear-gradient(90deg, #C628E2, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #C628E2 in the color wheel.
RGB, HSL and CMYK Values
RGB
198, 40, 226
Red: 198 / Green: 40 / Blue: 226
HSL
291°, 76%, 52%
Hue: 291° / Saturation: 76% / Lightness: 52%
CMYK
12%, 82%, 0%, 11%
Cyan: 12% / Magenta: 82% / Yellow: 0% / Key: 11%
What color is #C628E2?
#C628E2 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A dynamic magenta tone, #C628E2 has RGB (198, 40, 226) and HSL (291°, 76%, 52%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #C628E2 is #43E228, creating high-contrast pairings. For softer combinations, try analogous colors like #6928E2.
Use #C628E2 in CSS: color: #C628E2 or background-color: #C628E2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #C628E2
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #C628E2?
#C628E2 is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #C628E2?
#C628E2 in RGB is (198, 40, 226) - 198 red, 40 green, and 226 blue.
How to use #C628E2 in CSS?
Use #C628E2 directly in your CSS properties like color or background-color.