#C02DB6#C02DB6
#C02DB6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.230 H 331.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DB6 |
|---|---|
| RGB | rgb(192, 45, 182) |
| HSL | hsl(304, 62%, 46%) |
| HSV | hsv(304, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 5.2%, 24.7%) |
| CIE-LAB | lab(47.58, 70.58, -40.22) |
| CIE-LCH | lch(47.58, 81.24, 330.32°) |
| OKLab | oklab(57.86% 0.2014 -0.1109) |
| OKLCH | oklch(57.86% 0.23 331.2) |
| XYZ | xyz(31.1201, 16.4632, 45.7856) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.30
Barney
#AC1DB8
ΔE00 5.37
Ugly Purple
#A442A0
ΔE00 5.48
Pinky Purple
#C94CBE
ΔE00 6.03
Medium Purple
#9E43A2
ΔE00 6.20
Purple Pink
#D725DE
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DB6 #2DC037
analogous
#812DC0 #C02DB6 #C02D6D
triadic
#C02DB6 #B6C02D #2DB6C0
tetradic
#C02DB6 #C0812D #2DC037 #2D6DC0
square
#C02DB6 #C0812D #2DC037 #2D6DC0
split-complementary
#C02DB6 #6DC02D #2DC081
monochromatic
#5D1658 #8E2187 #C02DB6 #D753CE #E285DC
Accessibility & contrast
On white
4.89
#C02DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#C02DB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DB6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DB6 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D64BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02db6; /* rgb */ color: rgb(192, 45, 182); /* oklch */ color: oklch(57.9% 0.230 331.2);
Tailwind
colors: {
custom: {
50: '#d777cc',
500: '#c02db6',
950: '#000000',
},
}SCSS
$custom: #c02db6; $custom-light: #d777cc; $custom-dark: #000000;
JSON
{
"hex": "#c02db6",
"rgb": {
"r": 192,
"g": 45,
"b": 182
},
"hsl": {
"h": 304.082,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.57859,
"c": 0.22994,
"h": 331.2
},
"luminance": 0.16461
}Semantic roles & 50–950 ramp
primary
#C02DB6
secondary
#7DCC82
accent
#E54E43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82