#E158E4#E158E4
#E158E4 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.9% C 0.232 H 326.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E158E4 |
|---|---|
| RGB | rgb(225, 88, 228) |
| HSL | hsl(299, 72%, 62%) |
| HSV | hsv(299, 61%, 89%) |
| CMYK | cmyk(1.3%, 61.4%, 0%, 10.6%) |
| CIE-LAB | lab(60.42, 70.28, -45.92) |
| CIE-LCH | lch(60.42, 83.95, 326.84°) |
| OKLab | oklab(68.87% 0.1946 -0.1269) |
| OKLCH | oklch(68.87% 0.232 326.9) |
| XYZ | xyz(48.5438, 28.5915, 76.3456) |
| Luminance | 0.2859 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.79
Pinkish Purple
#D648D7
ΔE00 4.08
Purpleish Pink
#DF4EC8
ΔE00 4.70
Orchid
#DA70D6
ΔE00 4.85
Light Magenta
#FA5FF7
ΔE00 4.86
Pink Purple
#EF1DE7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E158E4 #5BE458
analogous
#9B58E4 #E158E4 #E458A1
triadic
#E158E4 #E4E158 #58E4E1
tetradic
#E158E4 #E49B58 #5BE458 #58A1E4
square
#E158E4 #E49B58 #5BE458 #58A1E4
split-complementary
#E158E4 #A1E458 #58E49B
monochromatic
#A41BA7 #D723DB #E158E4 #EA8DED #F4C1F5
Accessibility & contrast
On white
3.13
#E158E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#E158E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E158E4
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E158E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E158E4 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#7798E0
Tritanopia (blue-blind)
#E76B96
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #e158e4; /* rgb */ color: rgb(225, 88, 228); /* oklch */ color: oklch(68.9% 0.232 326.9);
Tailwind
colors: {
custom: {
50: '#ee90ed',
500: '#e158e4',
950: '#000000',
},
}SCSS
$custom: #e158e4; $custom-light: #ee90ed; $custom-dark: #000000;
JSON
{
"hex": "#e158e4",
"rgb": {
"r": 225,
"g": 88,
"b": 228
},
"hsl": {
"h": 298.714,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.68871,
"c": 0.23231,
"h": 326.9
},
"luminance": 0.28588
}Semantic roles & 50–950 ramp
primary
#E158E4
secondary
#B3E6B2
accent
#D41115
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84