#C02DC4#C02DC4
#C02DC4 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.240 H 326.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DC4 |
|---|---|
| RGB | rgb(192, 45, 196) |
| HSL | hsl(298, 63%, 47%) |
| HSV | hsv(298, 77%, 77%) |
| CMYK | cmyk(2%, 77%, 0%, 23.1%) |
| CIE-LAB | lab(48.35, 72.77, -47.16) |
| CIE-LCH | lch(48.35, 86.71, 327.06°) |
| OKLab | oklab(58.66% 0.2012 -0.1311) |
| OKLCH | oklch(58.66% 0.24 326.9) |
| XYZ | xyz(32.6399, 17.0711, 53.7898) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.98
Purple Pink
#D725DE
ΔE00 5.24
Barney
#AC1DB8
ΔE00 5.28
Pinky Purple
#C94CBE
ΔE00 6.13
Hot Purple
#CB00F5
ΔE00 6.66
Mediumorchid
#BA55D3
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DC4 #31C42D
analogous
#752DC4 #C02DC4 #C42D7C
triadic
#C02DC4 #C4C02D #2DC4C0
tetradic
#C02DC4 #C4752D #31C42D #2D7CC4
square
#C02DC4 #C4752D #31C42D #2D7CC4
split-complementary
#C02DC4 #7CC42D #2DC475
monochromatic
#5E1660 #8F2292 #C02DC4 #D556D8 #E188E4
Accessibility & contrast
On white
4.76
#C02DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#C02DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DC4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DC4 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#C54878
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c02dc4; /* rgb */ color: rgb(192, 45, 196); /* oklch */ color: oklch(58.7% 0.240 326.9);
Tailwind
colors: {
custom: {
50: '#d777d6',
500: '#c02dc4',
950: '#000000',
},
}SCSS
$custom: #c02dc4; $custom-light: #d777d6; $custom-dark: #000000;
JSON
{
"hex": "#c02dc4",
"rgb": {
"r": 192,
"g": 45,
"b": 196
},
"hsl": {
"h": 298.411,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.58659,
"c": 0.24012,
"h": 326.9
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#C02DC4
secondary
#82CD80
accent
#E64246
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83