#C04FE2#C04FE2
#C04FE2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.227 H 317.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C04FE2 |
|---|---|
| RGB | rgb(192, 79, 226) |
| HSL | hsl(286, 72%, 60%) |
| HSV | hsv(286, 65%, 89%) |
| CMYK | cmyk(15%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(54.33, 66.01, -54.75) |
| CIE-LCH | lch(54.33, 85.77, 320.33°) |
| OKLab | oklab(63.5% 0.1674 -0.1535) |
| OKLCH | oklch(63.5% 0.227 317.5) |
| XYZ | xyz(38.2597, 22.2910, 74.2240) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.36
Pinkish Purple
#D648D7
ΔE00 4.63
Heliotrope
#D94FF5
ΔE00 4.75
Purple Pink
#D725DE
ΔE00 4.97
Bright Lilac
#C95EFB
ΔE00 5.04
Lightish Purple
#A552E6
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04FE2 #71E24F
analogous
#764FE2 #C04FE2 #E24FBB
triadic
#C04FE2 #E2C04F #4FE2C0
tetradic
#C04FE2 #E2764F #71E24F #4FBBE2
square
#C04FE2 #E2764F #71E24F #4FBBE2
split-complementary
#C04FE2 #BBE24F #4FE276
monochromatic
#7E1A9D #A922D1 #C04FE2 #D384EB #E6B8F3
Accessibility & contrast
On white
3.85
#C04FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#C04FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C04FE2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C04FE2 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#147BE6
Deuteranopia (green-blind)
#5385DE
Tritanopia (blue-blind)
#BF6A92
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #c04fe2; /* rgb */ color: rgb(192, 79, 226); /* oklch */ color: oklch(63.5% 0.227 317.5);
Tailwind
colors: {
custom: {
50: '#d788ec',
500: '#c04fe2',
950: '#000000',
},
}SCSS
$custom: #c04fe2; $custom-light: #d788ec; $custom-dark: #000000;
JSON
{
"hex": "#c04fe2",
"rgb": {
"r": 192,
"g": 79,
"b": 226
},
"hsl": {
"h": 286.122,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.63496,
"c": 0.22711,
"h": 317.5
},
"luminance": 0.22289
}Semantic roles & 50–950 ramp
primary
#C04FE2
secondary
#B7E3AA
accent
#EE3963
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84