#C02CB2#C02CB2
#C02CB2 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.228 H 332.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CB2 |
|---|---|
| RGB | rgb(192, 44, 178) |
| HSL | hsl(306, 63%, 46%) |
| HSV | hsv(306, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 7.3%, 24.7%) |
| CIE-LAB | lab(47.27, 70.26, -38.36) |
| CIE-LCH | lch(47.27, 80.05, 331.37°) |
| OKLab | oklab(57.57% 0.2022 -0.1055) |
| OKLCH | oklch(57.57% 0.228 332.4) |
| XYZ | xyz(30.6749, 16.2248, 43.6270) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.48
Ugly Purple
#A442A0
ΔE00 5.23
Barney
#AC1DB8
ΔE00 5.52
Medium Purple
#9E43A2
ΔE00 6.07
Pinky Purple
#C94CBE
ΔE00 6.27
Purple Pink
#D725DE
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CB2 #2CC03A
analogous
#842CC0 #C02CB2 #C02C68
triadic
#C02CB2 #B2C02C #2CB2C0
tetradic
#C02CB2 #C0842C #2CC03A #2C68C0
square
#C02CB2 #C0842C #2CC03A #2C68C0
split-complementary
#C02CB2 #68C02C #2CC084
monochromatic
#5C1556 #8E2184 #C02CB2 #D752CB #E384DA
Accessibility & contrast
On white
4.95
#C02CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#C02CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CB2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CB2 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#5F77AF
Tritanopia (blue-blind)
#C83E6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02cb2; /* rgb */ color: rgb(192, 44, 178); /* oklch */ color: oklch(57.6% 0.228 332.4);
Tailwind
colors: {
custom: {
50: '#d776c9',
500: '#c02cb2',
950: '#000000',
},
}SCSS
$custom: #c02cb2; $custom-light: #d776c9; $custom-dark: #000000;
JSON
{
"hex": "#c02cb2",
"rgb": {
"r": 192,
"g": 44,
"b": 178
},
"hsl": {
"h": 305.676,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.5757,
"c": 0.22804,
"h": 332.4
},
"luminance": 0.16222
}Semantic roles & 50–950 ramp
primary
#C02CB2
secondary
#7CCC83
accent
#E65242
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82