#C042CE#C042CE
#C042CE is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.226 H 323.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C042CE |
|---|---|
| RGB | rgb(192, 66, 206) |
| HSL | hsl(294, 59%, 53%) |
| HSV | hsv(294, 68%, 81%) |
| CMYK | cmyk(6.8%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(51.34, 67.54, -48.16) |
| CIE-LCH | lch(51.34, 82.95, 324.51°) |
| OKLab | oklab(60.98% 0.1818 -0.1341) |
| OKLCH | oklch(60.98% 0.226 323.6) |
| XYZ | xyz(34.8260, 19.5612, 60.3219) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.37
Purple Pink
#D725DE
ΔE00 3.83
Purpley Pink
#C83CB9
ΔE00 4.20
Pinky Purple
#C94CBE
ΔE00 4.50
Pinkish Purple
#D648D7
ΔE00 4.79
Hot Purple
#CB00F5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C042CE #50CE42
analogous
#7A42CE #C042CE #CE4296
triadic
#C042CE #CEC042 #42CEC0
tetradic
#C042CE #CE7A42 #50CE42 #4296CE
square
#C042CE #CE7A42 #50CE42 #4296CE
split-complementary
#C042CE #96CE42 #42CE7A
monochromatic
#6E1F77 #9B2BA7 #C042CE #D073DB #E0A3E7
Accessibility & contrast
On white
4.28
#C042CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#C042CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C042CE
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C042CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C042CE | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#C35983
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c042ce; /* rgb */ color: rgb(192, 66, 206); /* oklch */ color: oklch(61.0% 0.226 323.6);
Tailwind
colors: {
custom: {
50: '#d781dd',
500: '#c042ce',
950: '#000000',
},
}SCSS
$custom: #c042ce; $custom-light: #d781dd; $custom-dark: #000000;
JSON
{
"hex": "#c042ce",
"rgb": {
"r": 192,
"g": 66,
"b": 206
},
"hsl": {
"h": 294,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.60976,
"c": 0.2259,
"h": 323.6
},
"luminance": 0.19559
}Semantic roles & 50–950 ramp
primary
#C042CE
secondary
#9ED498
accent
#E24655
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83