#C02FC9#C02FC9
#C02FC9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.242 H 325.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FC9 |
|---|---|
| RGB | rgb(192, 47, 201) |
| HSL | hsl(296, 62%, 49%) |
| HSV | hsv(296, 77%, 79%) |
| CMYK | cmyk(4.5%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(48.83, 73.02, -49.28) |
| CIE-LCH | lch(48.83, 88.09, 325.99°) |
| OKLab | oklab(59.1% 0.1994 -0.1372) |
| OKLCH | oklch(59.1% 0.242 325.5) |
| XYZ | xyz(33.2966, 17.4588, 56.8631) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.31
Purple Pink
#D725DE
ΔE00 4.70
Barney
#AC1DB8
ΔE00 5.69
Hot Purple
#CB00F5
ΔE00 5.92
Pinky Purple
#C94CBE
ΔE00 6.12
Mediumorchid
#BA55D3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FC9 #38C92F
analogous
#732FC9 #C02FC9 #C92F85
triadic
#C02FC9 #C9C02F #2FC9C0
tetradic
#C02FC9 #C9732F #38C92F #2F85C9
square
#C02FC9 #C9732F #38C92F #2F85C9
split-complementary
#C02FC9 #85C92F #2FC973
monochromatic
#611866 #912397 #C02FC9 #D25CD9 #DF8EE5
Accessibility & contrast
On white
4.68
#C02FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#C02FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FC9
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FC9 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#C54C7B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c02fc9; /* rgb */ color: rgb(192, 47, 201); /* oklch */ color: oklch(59.1% 0.242 325.5);
Tailwind
colors: {
custom: {
50: '#d778da',
500: '#c02fc9',
950: '#000000',
},
}SCSS
$custom: #c02fc9; $custom-light: #d778da; $custom-dark: #000000;
JSON
{
"hex": "#c02fc9",
"rgb": {
"r": 192,
"g": 47,
"b": 201
},
"hsl": {
"h": 296.494,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.59096,
"c": 0.24205,
"h": 325.5
},
"luminance": 0.17457
}Semantic roles & 50–950 ramp
primary
#C02FC9
secondary
#89CF85
accent
#E5434C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83