#CF42E5#CF42E5
#CF42E5 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.4% C 0.251 H 321.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42E5 |
|---|---|
| RGB | rgb(207, 66, 229) |
| HSL | hsl(292, 76%, 58%) |
| HSV | hsv(292, 71%, 90%) |
| CMYK | cmyk(9.6%, 71.2%, 0%, 10.2%) |
| CIE-LAB | lab(54.89, 74.75, -55.44) |
| CIE-LCH | lch(54.89, 93.06, 323.44°) |
| OKLab | oklab(64.38% 0.1977 -0.1549) |
| OKLCH | oklch(64.38% 0.251 321.9) |
| XYZ | xyz(41.8217, 22.8213, 76.3156) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 2.99
Pinkish Purple
#D648D7
ΔE00 3.10
Heliotrope
#D94FF5
ΔE00 3.79
Mediumorchid
#BA55D3
ΔE00 4.00
Pink Purple
#EF1DE7
ΔE00 4.78
Hot Purple
#CB00F5
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42E5 #58E542
analogous
#7D42E5 #CF42E5 #E542A9
triadic
#CF42E5 #E5CF42 #42E5CF
tetradic
#CF42E5 #E57D42 #58E542 #42A9E5
square
#CF42E5 #E57D42 #58E542 #42A9E5
split-complementary
#CF42E5 #A9E542 #42E57D
monochromatic
#861598 #B61CCE #CF42E5 #DD78EC #EAAEF4
Accessibility & contrast
On white
3.77
#CF42E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#CF42E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42E5
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42E5 | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#5889E1
Tritanopia (blue-blind)
#D16090
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #cf42e5; /* rgb */ color: rgb(207, 66, 229); /* oklch */ color: oklch(64.4% 0.251 321.9);
Tailwind
colors: {
custom: {
50: '#e283ee',
500: '#cf42e5',
950: '#000000',
},
}SCSS
$custom: #cf42e5; $custom-light: #e283ee; $custom-dark: #000000;
JSON
{
"hex": "#cf42e5",
"rgb": {
"r": 207,
"g": 66,
"b": 229
},
"hsl": {
"h": 291.902,
"s": 75.814,
"l": 57.843
},
"oklch": {
"l": 0.64383,
"c": 0.25121,
"h": 321.9
},
"luminance": 0.22819
}Semantic roles & 50–950 ramp
primary
#CF42E5
secondary
#AAE2A1
accent
#F2354F
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84