#C02AB1#C02AB1
#C02AB1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.229 H 332.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C02AB1 |
|---|---|
| RGB | rgb(192, 42, 177) |
| HSL | hsl(306, 64%, 46%) |
| HSV | hsv(306, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 7.8%, 24.7%) |
| CIE-LAB | lab(47.03, 70.66, -38.16) |
| CIE-LCH | lch(47.03, 80.30, 331.63°) |
| OKLab | oklab(57.38% 0.2037 -0.1049) |
| OKLCH | oklch(57.38% 0.229 332.8) |
| XYZ | xyz(30.5022, 16.0394, 43.0759) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.42
Medium Purple
#9E43A2
ΔE00 6.06
Pinky Purple
#C94CBE
ΔE00 6.53
Purply
#983FB2
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02AB1 #2AC039
analogous
#842AC0 #C02AB1 #C02A66
triadic
#C02AB1 #B1C02A #2AB1C0
tetradic
#C02AB1 #C0842A #2AC039 #2A66C0
square
#C02AB1 #C0842A #2AC039 #2A66C0
split-complementary
#C02AB1 #66C02A #2AC084
monochromatic
#5C1454 #8E1F83 #C02AB1 #D84FCB #E381DA
Accessibility & contrast
On white
4.99
#C02AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#C02AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02AB1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02AB1 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#C93C6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02ab1; /* rgb */ color: rgb(192, 42, 177); /* oklch */ color: oklch(57.4% 0.229 332.8);
Tailwind
colors: {
custom: {
50: '#d775c9',
500: '#c02ab1',
950: '#000000',
},
}SCSS
$custom: #c02ab1; $custom-light: #d775c9; $custom-dark: #000000;
JSON
{
"hex": "#c02ab1",
"rgb": {
"r": 192,
"g": 42,
"b": 177
},
"hsl": {
"h": 306,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.5738,
"c": 0.22915,
"h": 332.8
},
"luminance": 0.16037
}Semantic roles & 50–950 ramp
primary
#C02AB1
secondary
#7ACC82
accent
#E75141
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82