#C02CBE#C02CBE
#C02CBE is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.237 H 328.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CBE |
|---|---|
| RGB | rgb(192, 44, 190) |
| HSL | hsl(301, 63%, 46%) |
| HSV | hsv(301, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 1%, 24.7%) |
| CIE-LAB | lab(47.92, 72.09, -44.36) |
| CIE-LCH | lch(47.92, 84.65, 328.40°) |
| OKLab | oklab(58.24% 0.2022 -0.1229) |
| OKLCH | oklch(58.24% 0.237 328.7) |
| XYZ | xyz(31.9329, 16.7280, 50.2522) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.63
Barney
#AC1DB8
ΔE00 5.08
Purple Pink
#D725DE
ΔE00 5.91
Pinky Purple
#C94CBE
ΔE00 6.10
Ugly Purple
#A442A0
ΔE00 6.20
Medium Purple
#9E43A2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CBE #2CC02E
analogous
#782CC0 #C02CBE #C02C74
triadic
#C02CBE #BEC02C #2CBEC0
tetradic
#C02CBE #C0782C #2CC02E #2C74C0
square
#C02CBE #C0782C #2CC02E #2C74C0
split-complementary
#C02CBE #74C02C #2CC078
monochromatic
#5C155B #8E218D #C02CBE #D752D6 #E384E1
Accessibility & contrast
On white
4.83
#C02CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#C02CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CBE
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CBE | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0465C2
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#C64475
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c02cbe; /* rgb */ color: rgb(192, 44, 190); /* oklch */ color: oklch(58.2% 0.237 328.7);
Tailwind
colors: {
custom: {
50: '#d777d2',
500: '#c02cbe',
950: '#000000',
},
}SCSS
$custom: #c02cbe; $custom-light: #d777d2; $custom-dark: #000000;
JSON
{
"hex": "#c02cbe",
"rgb": {
"r": 192,
"g": 44,
"b": 190
},
"hsl": {
"h": 300.811,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.58241,
"c": 0.23661,
"h": 328.7
},
"luminance": 0.16726
}Semantic roles & 50–950 ramp
primary
#C02CBE
secondary
#7CCC7D
accent
#E64442
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82