#E158E3#E158E3
#E158E3 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.8% C 0.231 H 327.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #E158E3 |
|---|---|
| RGB | rgb(225, 88, 227) |
| HSL | hsl(299, 71%, 62%) |
| HSV | hsv(299, 61%, 89%) |
| CMYK | cmyk(0.9%, 61.2%, 0%, 11%) |
| CIE-LAB | lab(60.37, 70.11, -45.44) |
| CIE-LCH | lch(60.37, 83.55, 327.05°) |
| OKLab | oklab(68.82% 0.1945 -0.1256) |
| OKLCH | oklch(68.82% 0.231 327.2) |
| XYZ | xyz(48.4054, 28.5362, 75.6166) |
| Luminance | 0.2853 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.91
Pinkish Purple
#D648D7
ΔE00 4.03
Purpleish Pink
#DF4EC8
ΔE00 4.56
Orchid
#DA70D6
ΔE00 4.77
Light Magenta
#FA5FF7
ΔE00 4.91
Pink Purple
#EF1DE7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E158E3 #5AE358
analogous
#9C58E3 #E158E3 #E358A0
triadic
#E158E3 #E3E158 #58E3E1
tetradic
#E158E3 #E39C58 #5AE358 #58A0E3
square
#E158E3 #E39C58 #5AE358 #58A0E3
split-complementary
#E158E3 #A0E358 #58E39C
monochromatic
#A31CA5 #D724D9 #E158E3 #EA8CEC #F4C1F5
Accessibility & contrast
On white
3.13
#E158E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#E158E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E158E3
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E158E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E158E3 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#E76A96
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #e158e3; /* rgb */ color: rgb(225, 88, 227); /* oklch */ color: oklch(68.8% 0.231 327.2);
Tailwind
colors: {
custom: {
50: '#ee90ec',
500: '#e158e3',
950: '#000000',
},
}SCSS
$custom: #e158e3; $custom-light: #ee90ec; $custom-dark: #000000;
JSON
{
"hex": "#e158e3",
"rgb": {
"r": 225,
"g": 88,
"b": 227
},
"hsl": {
"h": 299.137,
"s": 71.282,
"l": 61.765
},
"oklch": {
"l": 0.68819,
"c": 0.23149,
"h": 327.2
},
"luminance": 0.28533
}Semantic roles & 50–950 ramp
primary
#E158E3
secondary
#B2E5B2
accent
#D31215
background
#FFF9FE
surface
#FEF2FD
border
#D6CCD5
text
#170D16
muted
#857E84