#C04FC2#C04FC2
#C04FC2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.199 H 327.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C04FC2 |
|---|---|
| RGB | rgb(192, 79, 194) |
| HSL | hsl(299, 49%, 54%) |
| HSV | hsv(299, 59%, 76%) |
| CMYK | cmyk(1%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(52.61, 60.12, -39.24) |
| CIE-LCH | lch(52.61, 71.80, 326.87°) |
| OKLab | oklab(61.7% 0.1666 -0.1083) |
| OKLCH | oklch(61.7% 0.199 327) |
| XYZ | xyz(34.2712, 20.6956, 53.2180) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.02
Purpley Pink
#C83CB9
ΔE00 3.40
Mediumorchid
#BA55D3
ΔE00 3.52
Pinkish Purple
#D648D7
ΔE00 4.34
Purple Pink
#D725DE
ΔE00 5.68
Purpleish Pink
#DF4EC8
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04FC2 #51C24F
analogous
#864FC2 #C04FC2 #C24F8A
triadic
#C04FC2 #C2C04F #4FC2C0
tetradic
#C04FC2 #C2864F #51C24F #4F8AC2
square
#C04FC2 #C2864F #51C24F #4F8AC2
split-complementary
#C04FC2 #8AC24F #4FC286
monochromatic
#6F2770 #9B379D #C04FC2 #D07CD2 #E1AAE2
Accessibility & contrast
On white
4.09
#C04FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#C04FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C04FC2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C04FC2 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#C55E81
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c04fc2; /* rgb */ color: rgb(192, 79, 194); /* oklch */ color: oklch(61.7% 0.199 327.0);
Tailwind
colors: {
custom: {
50: '#d687d5',
500: '#c04fc2',
950: '#000000',
},
}SCSS
$custom: #c04fc2; $custom-light: #d687d5; $custom-dark: #000000;
JSON
{
"hex": "#c04fc2",
"rgb": {
"r": 192,
"g": 79,
"b": 194
},
"hsl": {
"h": 298.957,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.61695,
"c": 0.19871,
"h": 327
},
"luminance": 0.20693
}Semantic roles & 50–950 ramp
primary
#C04FC2
secondary
#9FCF9E
accent
#D85052
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83