#C02FAB#C02FAB
#C02FAB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.220 H 334.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FAB |
|---|---|
| RGB | rgb(192, 47, 171) |
| HSL | hsl(309, 61%, 47%) |
| HSV | hsv(309, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 10.9%, 24.7%) |
| CIE-LAB | lab(47.21, 68.36, -34.32) |
| CIE-LCH | lch(47.21, 76.49, 333.34°) |
| OKLab | oklab(57.42% 0.1993 -0.0939) |
| OKLCH | oklch(57.42% 0.22 334.8) |
| XYZ | xyz(30.1058, 16.1825, 40.0581) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.62
Ugly Purple
#A442A0
ΔE00 4.96
Medium Purple
#9E43A2
ΔE00 6.05
Pinky Purple
#C94CBE
ΔE00 6.33
Barney
#AC1DB8
ΔE00 6.39
Mediumvioletred
#C71585
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FAB #2FC044
analogous
#8D2FC0 #C02FAB #C02F62
triadic
#C02FAB #ABC02F #2FABC0
tetradic
#C02FAB #C08D2F #2FC044 #2F62C0
square
#C02FAB #C08D2F #2FC044 #2F62C0
split-complementary
#C02FAB #62C02F #2FC08D
monochromatic
#5E1753 #8F237F #C02FAB #D656C3 #E288D5
Accessibility & contrast
On white
4.96
#C02FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#C02FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FAB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FAB | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#6377A8
Tritanopia (blue-blind)
#C93C6B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02fab; /* rgb */ color: rgb(192, 47, 171); /* oklch */ color: oklch(57.4% 0.220 334.8);
Tailwind
colors: {
custom: {
50: '#d777c4',
500: '#c02fab',
950: '#000000',
},
}SCSS
$custom: #c02fab; $custom-light: #d777c4; $custom-dark: #000000;
JSON
{
"hex": "#c02fab",
"rgb": {
"r": 192,
"g": 47,
"b": 171
},
"hsl": {
"h": 308.69,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.57415,
"c": 0.22029,
"h": 334.8
},
"luminance": 0.1618
}Semantic roles & 50–950 ramp
primary
#C02FAB
secondary
#7FCB8A
accent
#E45B44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82