#C02DB9#C02DB9
#C02DB9 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.232 H 330.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DB9 |
|---|---|
| RGB | rgb(192, 45, 185) |
| HSL | hsl(303, 62%, 46%) |
| HSV | hsv(303, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 3.6%, 24.7%) |
| CIE-LAB | lab(47.74, 71.04, -41.72) |
| CIE-LCH | lch(47.74, 82.39, 329.57°) |
| OKLab | oklab(58.03% 0.2014 -0.1153) |
| OKLCH | oklch(58.03% 0.232 330.2) |
| XYZ | xyz(31.4334, 16.5885, 47.4359) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.33
Barney
#AC1DB8
ΔE00 5.25
Ugly Purple
#A442A0
ΔE00 5.72
Pinky Purple
#C94CBE
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 6.34
Purple Pink
#D725DE
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DB9 #2DC034
analogous
#7E2DC0 #C02DB9 #C02D70
triadic
#C02DB9 #B9C02D #2DB9C0
tetradic
#C02DB9 #C07E2D #2DC034 #2D70C0
square
#C02DB9 #C07E2D #2DC034 #2D70C0
split-complementary
#C02DB9 #70C02D #2DC07E
monochromatic
#5D1659 #8E2189 #C02DB9 #D753D1 #E285DE
Accessibility & contrast
On white
4.86
#C02DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#C02DB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DB9
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DB9 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#C74272
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02db9; /* rgb */ color: rgb(192, 45, 185); /* oklch */ color: oklch(58.0% 0.232 330.2);
Tailwind
colors: {
custom: {
50: '#d777ce',
500: '#c02db9',
950: '#000000',
},
}SCSS
$custom: #c02db9; $custom-light: #d777ce; $custom-dark: #000000;
JSON
{
"hex": "#c02db9",
"rgb": {
"r": 192,
"g": 45,
"b": 185
},
"hsl": {
"h": 302.857,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.58026,
"c": 0.23208,
"h": 330.2
},
"luminance": 0.16586
}Semantic roles & 50–950 ramp
primary
#C02DB9
secondary
#7DCC81
accent
#E54A43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82