#C02CB8#C02CB8
#C02CB8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.232 H 330.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CB8 |
|---|---|
| RGB | rgb(192, 44, 184) |
| HSL | hsl(303, 63%, 46%) |
| HSV | hsv(303, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 4.2%, 24.7%) |
| CIE-LAB | lab(47.59, 71.17, -41.38) |
| CIE-LCH | lch(47.59, 82.32, 329.82°) |
| OKLab | oklab(57.9% 0.2023 -0.1143) |
| OKLCH | oklch(57.9% 0.232 330.5) |
| XYZ | xyz(31.2906, 16.4710, 46.8693) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.42
Barney
#AC1DB8
ΔE00 5.19
Ugly Purple
#A442A0
ΔE00 5.65
Pinky Purple
#C94CBE
ΔE00 6.11
Medium Purple
#9E43A2
ΔE00 6.29
Purple Pink
#D725DE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CB8 #2CC034
analogous
#7E2CC0 #C02CB8 #C02C6E
triadic
#C02CB8 #B8C02C #2CB8C0
tetradic
#C02CB8 #C07E2C #2CC034 #2C6EC0
square
#C02CB8 #C07E2C #2CC034 #2C6EC0
split-complementary
#C02CB8 #6EC02C #2CC07E
monochromatic
#5C1559 #8E2188 #C02CB8 #D752D0 #E384DE
Accessibility & contrast
On white
4.89
#C02CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#C02CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CB8
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CB8 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#C74171
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c02cb8; /* rgb */ color: rgb(192, 44, 184); /* oklch */ color: oklch(57.9% 0.232 330.5);
Tailwind
colors: {
custom: {
50: '#d776ce',
500: '#c02cb8',
950: '#000000',
},
}SCSS
$custom: #c02cb8; $custom-light: #d776ce; $custom-dark: #000000;
JSON
{
"hex": "#c02cb8",
"rgb": {
"r": 192,
"g": 44,
"b": 184
},
"hsl": {
"h": 303.243,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.57901,
"c": 0.23229,
"h": 330.5
},
"luminance": 0.16469
}Semantic roles & 50–950 ramp
primary
#C02CB8
secondary
#7CCC80
accent
#E64B42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82