#C02CBA#C02CBA
#C02CBA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.234 H 329.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CBA |
|---|---|
| RGB | rgb(192, 44, 186) |
| HSL | hsl(302, 63%, 46%) |
| HSV | hsv(302, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 3.1%, 24.7%) |
| CIE-LAB | lab(47.70, 71.47, -42.38) |
| CIE-LCH | lch(47.70, 83.09, 329.34°) |
| OKLab | oklab(58.01% 0.2022 -0.1171) |
| OKLCH | oklch(58.01% 0.234 329.9) |
| XYZ | xyz(31.5017, 16.5555, 47.9812) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.46
Barney
#AC1DB8
ΔE00 5.13
Ugly Purple
#A442A0
ΔE00 5.82
Pinky Purple
#C94CBE
ΔE00 6.09
Purple Pink
#D725DE
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CBA #2CC032
analogous
#7C2CC0 #C02CBA #C02C70
triadic
#C02CBA #BAC02C #2CBAC0
tetradic
#C02CBA #C07C2C #2CC032 #2C70C0
square
#C02CBA #C07C2C #2CC032 #2C70C0
split-complementary
#C02CBA #70C02C #2CC07C
monochromatic
#5C155A #8E218A #C02CBA #D752D2 #E384DF
Accessibility & contrast
On white
4.87
#C02CBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#C02CBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CBA
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CBA | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1265BE
Deuteranopia (green-blind)
#5A78B6
Tritanopia (blue-blind)
#C74272
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02cba; /* rgb */ color: rgb(192, 44, 186); /* oklch */ color: oklch(58.0% 0.234 329.9);
Tailwind
colors: {
custom: {
50: '#d776cf',
500: '#c02cba',
950: '#000000',
},
}SCSS
$custom: #c02cba; $custom-light: #d776cf; $custom-dark: #000000;
JSON
{
"hex": "#c02cba",
"rgb": {
"r": 192,
"g": 44,
"b": 186
},
"hsl": {
"h": 302.432,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.58013,
"c": 0.23372,
"h": 329.9
},
"luminance": 0.16553
}Semantic roles & 50–950 ramp
primary
#C02CBA
secondary
#7CCC7F
accent
#E64942
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82