#C242E1#C242E1
#C242E1 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.4% C 0.243 H 319.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C242E1 |
|---|---|
| RGB | rgb(194, 66, 225) |
| HSL | hsl(288, 73%, 57%) |
| HSV | hsv(288, 71%, 88%) |
| CMYK | cmyk(13.8%, 70.7%, 0%, 11.8%) |
| CIE-LAB | lab(52.73, 71.38, -56.73) |
| CIE-LCH | lch(52.73, 91.18, 321.52°) |
| OKLab | oklab(62.39% 0.1832 -0.1591) |
| OKLCH | oklch(62.39% 0.243 319) |
| XYZ | xyz(37.7852, 20.8038, 73.2448) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.37
Purple Pink
#D725DE
ΔE00 3.65
Hot Purple
#CB00F5
ΔE00 4.37
Pinkish Purple
#D648D7
ΔE00 4.93
Lightish Purple
#A552E6
ΔE00 5.36
Heliotrope
#D94FF5
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C242E1 #61E142
analogous
#7342E1 #C242E1 #E142B1
triadic
#C242E1 #E1C242 #42E1C2
tetradic
#C242E1 #E17342 #61E142 #42B1E1
square
#C242E1 #E17342 #61E142 #42B1E1
split-complementary
#C242E1 #B1E142 #42E173
monochromatic
#7A1792 #A61FC6 #C242E1 #D377E9 #E4ACF2
Accessibility & contrast
On white
4.07
#C242E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#C242E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C242E1
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C242E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C242E1 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#4D82DD
Tritanopia (blue-blind)
#C2618E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c242e1; /* rgb */ color: rgb(194, 66, 225); /* oklch */ color: oklch(62.4% 0.243 319.0);
Tailwind
colors: {
custom: {
50: '#d982eb',
500: '#c242e1',
950: '#000000',
},
}SCSS
$custom: #c242e1; $custom-light: #d982eb; $custom-dark: #000000;
JSON
{
"hex": "#c242e1",
"rgb": {
"r": 194,
"g": 66,
"b": 225
},
"hsl": {
"h": 288.302,
"s": 72.603,
"l": 57.059
},
"oklch": {
"l": 0.62388,
"c": 0.24268,
"h": 319
},
"luminance": 0.20802
}Semantic roles & 50–950 ramp
primary
#C242E1
secondary
#ACE09F
accent
#EF385C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84