#C02ABB#C02ABB
#C02ABB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.236 H 329.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C02ABB |
|---|---|
| RGB | rgb(192, 42, 187) |
| HSL | hsl(302, 64%, 46%) |
| HSV | hsv(302, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 2.6%, 24.7%) |
| CIE-LAB | lab(47.56, 72.17, -43.17) |
| CIE-LCH | lch(47.56, 84.09, 329.11°) |
| OKLab | oklab(57.94% 0.2038 -0.1194) |
| OKLCH | oklch(57.94% 0.236 329.6) |
| XYZ | xyz(31.5356, 16.4527, 48.5188) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.70
Barney
#AC1DB8
ΔE00 4.94
Ugly Purple
#A442A0
ΔE00 5.93
Pinky Purple
#C94CBE
ΔE00 6.31
Purple Pink
#D725DE
ΔE00 6.36
Medium Purple
#9E43A2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02ABB #2AC02F
analogous
#7A2AC0 #C02ABB #C02A70
triadic
#C02ABB #BBC02A #2ABBC0
tetradic
#C02ABB #C07A2A #2AC02F #2A70C0
square
#C02ABB #C07A2A #2AC02F #2A70C0
split-complementary
#C02ABB #70C02A #2AC07A
monochromatic
#5C1459 #8E1F8A #C02ABB #D84FD4 #E381E0
Accessibility & contrast
On white
4.90
#C02ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#C02ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02ABB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02ABB | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#C74172
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02abb; /* rgb */ color: rgb(192, 42, 187); /* oklch */ color: oklch(57.9% 0.236 329.6);
Tailwind
colors: {
custom: {
50: '#d776d0',
500: '#c02abb',
950: '#000000',
},
}SCSS
$custom: #c02abb; $custom-light: #d776d0; $custom-dark: #000000;
JSON
{
"hex": "#c02abb",
"rgb": {
"r": 192,
"g": 42,
"b": 187
},
"hsl": {
"h": 302,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.57937,
"c": 0.2362,
"h": 329.6
},
"luminance": 0.1645
}Semantic roles & 50–950 ramp
primary
#C02ABB
secondary
#7ACC7C
accent
#E74641
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82