#C02CB6#C02CB6
#C02CB6 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.231 H 331.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CB6 |
|---|---|
| RGB | rgb(192, 44, 182) |
| HSL | hsl(304, 63%, 46%) |
| HSV | hsv(304, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 5.2%, 24.7%) |
| CIE-LAB | lab(47.48, 70.86, -40.38) |
| CIE-LCH | lch(47.48, 81.56, 330.33°) |
| OKLab | oklab(57.79% 0.2022 -0.1113) |
| OKLCH | oklch(57.79% 0.231 331.2) |
| XYZ | xyz(31.0824, 16.3878, 45.7730) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.40
Barney
#AC1DB8
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 5.49
Pinky Purple
#C94CBE
ΔE00 6.15
Medium Purple
#9E43A2
ΔE00 6.20
Purple Pink
#D725DE
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CB6 #2CC036
analogous
#802CC0 #C02CB6 #C02C6C
triadic
#C02CB6 #B6C02C #2CB6C0
tetradic
#C02CB6 #C0802C #2CC036 #2C6CC0
square
#C02CB6 #C0802C #2CC036 #2C6CC0
split-complementary
#C02CB6 #6CC02C #2CC080
monochromatic
#5C1558 #8E2187 #C02CB6 #D752CE #E384DC
Accessibility & contrast
On white
4.91
#C02CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#C02CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CB6
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CB6 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C84070
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02cb6; /* rgb */ color: rgb(192, 44, 182); /* oklch */ color: oklch(57.8% 0.231 331.2);
Tailwind
colors: {
custom: {
50: '#d776cc',
500: '#c02cb6',
950: '#000000',
},
}SCSS
$custom: #c02cb6; $custom-light: #d776cc; $custom-dark: #000000;
JSON
{
"hex": "#c02cb6",
"rgb": {
"r": 192,
"g": 44,
"b": 182
},
"hsl": {
"h": 304.054,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.5779,
"c": 0.23086,
"h": 331.2
},
"luminance": 0.16385
}Semantic roles & 50–950 ramp
primary
#C02CB6
secondary
#7CCC81
accent
#E64D42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82