#C02EEE#C02EEE
#C02EEE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.4% C 0.272 H 316.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C02EEE |
|---|---|
| RGB | rgb(192, 46, 238) |
| HSL | hsl(286, 85%, 56%) |
| HSV | hsv(286, 81%, 93%) |
| CMYK | cmyk(19.3%, 80.7%, 0%, 6.7%) |
| CIE-LAB | lab(51.08, 79.69, -66.75) |
| CIE-LCH | lch(51.08, 103.95, 320.05°) |
| OKLab | oklab(61.42% 0.1955 -0.1884) |
| OKLCH | oklch(61.42% 0.272 316.1) |
| XYZ | xyz(38.1454, 19.3351, 82.5951) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 1.97
Neon Purple
#BC13FE
ΔE00 2.83
Bright Purple
#BE03FD
ΔE00 2.90
Purple Pink
#D725DE
ΔE00 4.92
Electric Purple
#AA23FF
ΔE00 4.98
Bright Violet
#AD0AFD
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02EEE #5CEE2E
analogous
#602EEE #C02EEE #EE2EBC
triadic
#C02EEE #EEC02E #2EEEC0
tetradic
#C02EEE #EE602E #5CEE2E #2EBCEE
square
#C02EEE #EE602E #5CEE2E #2EBCEE
split-complementary
#C02EEE #BCEE2E #2EEE60
monochromatic
#750C95 #A111CE #C02EEE #D167F3 #E29FF7
Accessibility & contrast
On white
4.31
#C02EEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#C02EEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C02EEE
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02EEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C02EEE | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#BD5D91
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c02eee; /* rgb */ color: rgb(192, 46, 238); /* oklch */ color: oklch(61.4% 0.272 316.1);
Tailwind
colors: {
custom: {
50: '#d87af4',
500: '#c02eee',
950: '#000000',
},
}SCSS
$custom: #c02eee; $custom-light: #d87af4; $custom-dark: #000000;
JSON
{
"hex": "#c02eee",
"rgb": {
"r": 192,
"g": 46,
"b": 238
},
"hsl": {
"h": 285.625,
"s": 84.956,
"l": 55.686
},
"oklch": {
"l": 0.61422,
"c": 0.27151,
"h": 316.1
},
"luminance": 0.19334
}Semantic roles & 50–950 ramp
primary
#C02EEE
secondary
#A7E494
accent
#FB2D5E
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150A17
muted
#837C85