#E158D9#E158D9
#E158D9 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.224 H 330.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #E158D9 |
|---|---|
| RGB | rgb(225, 88, 217) |
| HSL | hsl(304, 70%, 61%) |
| HSV | hsv(304, 61%, 88%) |
| CMYK | cmyk(0%, 60.9%, 3.6%, 11.8%) |
| CIE-LAB | lab(59.89, 68.46, -40.58) |
| CIE-LCH | lch(59.89, 79.59, 329.35°) |
| OKLab | oklab(68.31% 0.1937 -0.1115) |
| OKLCH | oklch(68.31% 0.224 330.1) |
| XYZ | xyz(47.0651, 28.0000, 68.5578) |
| Luminance | 0.2800 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.13
Pinkish Purple
#D648D7
ΔE00 3.93
Orchid
#DA70D6
ΔE00 4.28
Heliotrope
#D94FF5
ΔE00 5.32
Pink Purple
#EF1DE7
ΔE00 5.42
Bright Magenta
#FF08E8
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E158D9 #58E160
analogous
#A558E1 #E158D9 #E15895
triadic
#E158D9 #D9E158 #58D9E1
tetradic
#E158D9 #E1A558 #58E160 #5895E1
square
#E158D9 #E1A558 #58E160 #5895E1
split-complementary
#E158D9 #95E158 #58E1A5
monochromatic
#A21D9A #D526CB #E158D9 #EA8CE5 #F4C0F1
Accessibility & contrast
On white
3.18
#E158D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#E158D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E158D9
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E158D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E158D9 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#7C97D5
Tritanopia (blue-blind)
#E96691
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e158d9; /* rgb */ color: rgb(225, 88, 217); /* oklch */ color: oklch(68.3% 0.224 330.1);
Tailwind
colors: {
custom: {
50: '#ee8fe5',
500: '#e158d9',
950: '#000000',
},
}SCSS
$custom: #e158d9; $custom-light: #ee8fe5; $custom-dark: #000000;
JSON
{
"hex": "#e158d9",
"rgb": {
"r": 225,
"g": 88,
"b": 217
},
"hsl": {
"h": 303.504,
"s": 69.543,
"l": 61.373
},
"oklch": {
"l": 0.68313,
"c": 0.22351,
"h": 330.1
},
"luminance": 0.27997
}Semantic roles & 50–950 ramp
primary
#E158D9
secondary
#B1E4B4
accent
#D21F14
background
#FFF9FE
surface
#FEF2FC
border
#D6CCD5
text
#170D16
muted
#857E84