#C02DAD#C02DAD
#C02DAD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.224 H 334.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DAD |
|---|---|
| RGB | rgb(192, 45, 173) |
| HSL | hsl(308, 62%, 46%) |
| HSV | hsv(308, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 9.9%, 24.7%) |
| CIE-LAB | lab(47.11, 69.24, -35.67) |
| CIE-LCH | lch(47.11, 77.88, 332.75°) |
| OKLab | oklab(57.37% 0.2011 -0.0977) |
| OKLCH | oklch(57.37% 0.224 334.1) |
| XYZ | xyz(30.2197, 16.1030, 41.0437) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.65
Ugly Purple
#A442A0
ΔE00 5.01
Barney
#AC1DB8
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.02
Pinky Purple
#C94CBE
ΔE00 6.42
Purply
#983FB2
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DAD #2DC040
analogous
#8A2DC0 #C02DAD #C02D64
triadic
#C02DAD #ADC02D #2DADC0
tetradic
#C02DAD #C08A2D #2DC040 #2D64C0
square
#C02DAD #C08A2D #2DC040 #2D64C0
split-complementary
#C02DAD #64C02D #2DC08A
monochromatic
#5D1654 #8E2180 #C02DAD #D753C6 #E285D6
Accessibility & contrast
On white
4.98
#C02DAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#C02DAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DAD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DAD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#6277AA
Tritanopia (blue-blind)
#C93C6B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02dad; /* rgb */ color: rgb(192, 45, 173); /* oklch */ color: oklch(57.4% 0.224 334.1);
Tailwind
colors: {
custom: {
50: '#d776c6',
500: '#c02dad',
950: '#000000',
},
}SCSS
$custom: #c02dad; $custom-light: #d776c6; $custom-dark: #000000;
JSON
{
"hex": "#c02dad",
"rgb": {
"r": 192,
"g": 45,
"b": 173
},
"hsl": {
"h": 307.755,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.57374,
"c": 0.22363,
"h": 334.1
},
"luminance": 0.161
}Semantic roles & 50–950 ramp
primary
#C02DAD
secondary
#7DCC87
accent
#E55843
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82