#C02CC0#C02CC0
#C02CC0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.238 H 328.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C02CC0 |
|---|---|
| RGB | rgb(192, 44, 192) |
| HSL | hsl(300, 63%, 46%) |
| HSV | hsv(300, 77%, 75%) |
| CMYK | cmyk(0%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(48.03, 72.41, -45.35) |
| CIE-LCH | lch(48.03, 85.44, 327.94°) |
| OKLab | oklab(58.36% 0.2021 -0.1258) |
| OKLCH | oklch(58.36% 0.238 328.1) |
| XYZ | xyz(32.1530, 16.8160, 51.4113) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.76
Barney
#AC1DB8
ΔE00 5.10
Purple Pink
#D725DE
ΔE00 5.70
Pinky Purple
#C94CBE
ΔE00 6.13
Ugly Purple
#A442A0
ΔE00 6.41
Medium Purple
#9E43A2
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02CC0 #2CC02C
analogous
#762CC0 #C02CC0 #C02C76
triadic
#C02CC0 #C0C02C #2CC0C0
tetradic
#C02CC0 #C0762C #2CC02C #2C76C0
square
#C02CC0 #C0762C #2CC02C #2C76C0
split-complementary
#C02CC0 #76C02C #2CC076
monochromatic
#5C155C #8E218E #C02CC0 #D752D7 #E384E3
Accessibility & contrast
On white
4.81
#C02CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#C02CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02CC0
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02CC0 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#C64576
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c02cc0; /* rgb */ color: rgb(192, 44, 192); /* oklch */ color: oklch(58.4% 0.238 328.1);
Tailwind
colors: {
custom: {
50: '#d777d3',
500: '#c02cc0',
950: '#000000',
},
}SCSS
$custom: #c02cc0; $custom-light: #d777d3; $custom-dark: #000000;
JSON
{
"hex": "#c02cc0",
"rgb": {
"r": 192,
"g": 44,
"b": 192
},
"hsl": {
"h": 300,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.58357,
"c": 0.23807,
"h": 328.1
},
"luminance": 0.16814
}Semantic roles & 50–950 ramp
primary
#C02CC0
secondary
#7CCC7C
accent
#E64242
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83