#C02AB2#C02AB2
#C02AB2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.230 H 332.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C02AB2 |
|---|---|
| RGB | rgb(192, 42, 178) |
| HSL | hsl(306, 64%, 46%) |
| HSV | hsv(306, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 7.3%, 24.7%) |
| CIE-LAB | lab(47.08, 70.81, -38.66) |
| CIE-LCH | lch(47.08, 80.67, 331.36°) |
| OKLab | oklab(57.44% 0.2037 -0.1064) |
| OKLCH | oklch(57.44% 0.23 332.4) |
| XYZ | xyz(30.6022, 16.0794, 43.6027) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 5.26
Barney
#AC1DB8
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 6.08
Pinky Purple
#C94CBE
ΔE00 6.49
Purply
#983FB2
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02AB2 #2AC038
analogous
#832AC0 #C02AB2 #C02A67
triadic
#C02AB2 #B2C02A #2AB2C0
tetradic
#C02AB2 #C0832A #2AC038 #2A67C0
square
#C02AB2 #C0832A #2AC038 #2A67C0
split-complementary
#C02AB2 #67C02A #2AC083
monochromatic
#5C1455 #8E1F83 #C02AB2 #D84FCC #E381DA
Accessibility & contrast
On white
4.98
#C02AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#C02AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02AB2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02AB2 | 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)
#1F62B6
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#C83D6D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02ab2; /* rgb */ color: rgb(192, 42, 178); /* oklch */ color: oklch(57.4% 0.230 332.4);
Tailwind
colors: {
custom: {
50: '#d775c9',
500: '#c02ab2',
950: '#000000',
},
}SCSS
$custom: #c02ab2; $custom-light: #d775c9; $custom-dark: #000000;
JSON
{
"hex": "#c02ab2",
"rgb": {
"r": 192,
"g": 42,
"b": 178
},
"hsl": {
"h": 305.6,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.57435,
"c": 0.22985,
"h": 332.4
},
"luminance": 0.16077
}Semantic roles & 50–950 ramp
primary
#C02AB2
secondary
#7ACC81
accent
#E75041
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82