#C02AA9#C02AA9
#C02AA9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.224 H 335.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C02AA9 |
|---|---|
| RGB | rgb(192, 42, 169) |
| HSL | hsl(309, 64%, 46%) |
| HSV | hsv(309, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 12%, 24.7%) |
| CIE-LAB | lab(46.62, 69.50, -34.07) |
| CIE-LCH | lch(46.62, 77.40, 333.88°) |
| OKLab | oklab(56.96% 0.2034 -0.0931) |
| OKLCH | oklch(56.96% 0.224 335.4) |
| XYZ | xyz(29.7281, 15.7297, 38.9989) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 5.00
Medium Purple
#9E43A2
ΔE00 6.09
Barney
#AC1DB8
ΔE00 6.20
Pinky Purple
#C94CBE
ΔE00 7.00
Mediumvioletred
#C71585
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02AA9 #2AC041
analogous
#8C2AC0 #C02AA9 #C02A5E
triadic
#C02AA9 #A9C02A #2AA9C0
tetradic
#C02AA9 #C08C2A #2AC041 #2A5EC0
square
#C02AA9 #C08C2A #2AC041 #2A5EC0
split-complementary
#C02AA9 #5EC02A #2AC08C
monochromatic
#5C1451 #8E1F7D #C02AA9 #D84FC3 #E381D4
Accessibility & contrast
On white
5.07
#C02AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#C02AA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02AA9
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02AA9 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#CA3768
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02aa9; /* rgb */ color: rgb(192, 42, 169); /* oklch */ color: oklch(57.0% 0.224 335.4);
Tailwind
colors: {
custom: {
50: '#d775c3',
500: '#c02aa9',
950: '#000000',
},
}SCSS
$custom: #c02aa9; $custom-light: #d775c3; $custom-dark: #000000;
JSON
{
"hex": "#c02aa9",
"rgb": {
"r": 192,
"g": 42,
"b": 169
},
"hsl": {
"h": 309.2,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.56956,
"c": 0.22369,
"h": 335.4
},
"luminance": 0.15727
}Semantic roles & 50–950 ramp
primary
#C02AA9
secondary
#7ACC86
accent
#E75A41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81