#C02AB3#C02AB3
#C02AB3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.231 H 332.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C02AB3 |
|---|---|
| RGB | rgb(192, 42, 179) |
| HSL | hsl(305, 64%, 46%) |
| HSV | hsv(305, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 6.8%, 24.7%) |
| CIE-LAB | lab(47.13, 70.95, -39.17) |
| CIE-LCH | lch(47.13, 81.05, 331.10°) |
| OKLab | oklab(57.49% 0.2038 -0.1078) |
| OKLCH | oklch(57.49% 0.231 332.1) |
| XYZ | xyz(30.7030, 16.1197, 44.1334) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.65
Barney
#AC1DB8
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 5.32
Medium Purple
#9E43A2
ΔE00 6.10
Pinky Purple
#C94CBE
ΔE00 6.46
Purply
#983FB2
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02AB3 #2AC037
analogous
#822AC0 #C02AB3 #C02A68
triadic
#C02AB3 #B3C02A #2AB3C0
tetradic
#C02AB3 #C0822A #2AC037 #2A68C0
square
#C02AB3 #C0822A #2AC037 #2A68C0
split-complementary
#C02AB3 #68C02A #2AC082
monochromatic
#5C1455 #8E1F84 #C02AB3 #D84FCD #E381DB
Accessibility & contrast
On white
4.97
#C02AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#C02AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02AB3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02AB3 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D62B7
Deuteranopia (green-blind)
#5E77B0
Tritanopia (blue-blind)
#C83D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02ab3; /* rgb */ color: rgb(192, 42, 179); /* oklch */ color: oklch(57.5% 0.231 332.1);
Tailwind
colors: {
custom: {
50: '#d775ca',
500: '#c02ab3',
950: '#000000',
},
}SCSS
$custom: #c02ab3; $custom-light: #d775ca; $custom-dark: #000000;
JSON
{
"hex": "#c02ab3",
"rgb": {
"r": 192,
"g": 42,
"b": 179
},
"hsl": {
"h": 305.2,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.5749,
"c": 0.23055,
"h": 332.1
},
"luminance": 0.16117
}Semantic roles & 50–950 ramp
primary
#C02AB3
secondary
#7ACC81
accent
#E74F41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82