#C02DB3#C02DB3
#C02DB3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.228 H 332.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DB3 |
|---|---|
| RGB | rgb(192, 45, 179) |
| HSL | hsl(305, 62%, 46%) |
| HSV | hsv(305, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 6.8%, 24.7%) |
| CIE-LAB | lab(47.42, 70.13, -38.71) |
| CIE-LCH | lch(47.42, 80.10, 331.10°) |
| OKLab | oklab(57.69% 0.2014 -0.1065) |
| OKLCH | oklch(57.69% 0.228 332.1) |
| XYZ | xyz(30.8134, 16.3405, 44.1703) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.34
Ugly Purple
#A442A0
ΔE00 5.28
Barney
#AC1DB8
ΔE00 5.54
Medium Purple
#9E43A2
ΔE00 6.09
Pinky Purple
#C94CBE
ΔE00 6.12
Purple Pink
#D725DE
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DB3 #2DC03A
analogous
#842DC0 #C02DB3 #C02D6A
triadic
#C02DB3 #B3C02D #2DB3C0
tetradic
#C02DB3 #C0842D #2DC03A #2D6AC0
square
#C02DB3 #C0842D #2DC03A #2D6AC0
split-complementary
#C02DB3 #6AC02D #2DC084
monochromatic
#5D1657 #8E2185 #C02DB3 #D753CB #E285DA
Accessibility & contrast
On white
4.92
#C02DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#C02DB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DB3
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DB3 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2163B7
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C83F6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02db3; /* rgb */ color: rgb(192, 45, 179); /* oklch */ color: oklch(57.7% 0.228 332.1);
Tailwind
colors: {
custom: {
50: '#d777ca',
500: '#c02db3',
950: '#000000',
},
}SCSS
$custom: #c02db3; $custom-light: #d777ca; $custom-dark: #000000;
JSON
{
"hex": "#c02db3",
"rgb": {
"r": 192,
"g": 45,
"b": 179
},
"hsl": {
"h": 305.306,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.57695,
"c": 0.22781,
"h": 332.1
},
"luminance": 0.16338
}Semantic roles & 50–950 ramp
primary
#C02DB3
secondary
#7DCC84
accent
#E55143
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82