#E151E8#E151E8
#E151E8 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.4% C 0.244 H 325.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E151E8 |
|---|---|
| RGB | rgb(225, 81, 232) |
| HSL | hsl(297, 77%, 61%) |
| HSV | hsv(297, 65%, 91%) |
| CMYK | cmyk(3%, 65.1%, 0%, 9%) |
| CIE-LAB | lab(59.64, 73.69, -49.40) |
| CIE-LCH | lch(59.64, 88.72, 326.16°) |
| OKLab | oklab(68.37% 0.2024 -0.137) |
| OKLCH | oklch(68.37% 0.244 325.9) |
| XYZ | xyz(48.5583, 27.7217, 79.1215) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.77
Pinkish Purple
#D648D7
ΔE00 3.53
Pink Purple
#EF1DE7
ΔE00 4.23
Bright Magenta
#FF08E8
ΔE00 4.97
Magenta
#FF00FF
ΔE00 4.98
Fuchsia
#FF00FF
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E151E8 #58E851
analogous
#9651E8 #E151E8 #E851A3
triadic
#E151E8 #E8E151 #51E8E1
tetradic
#E151E8 #E89651 #58E851 #51A3E8
square
#E151E8 #E89651 #58E851 #51A3E8
split-complementary
#E151E8 #A3E851 #51E896
monochromatic
#A216A8 #D51DDE #E151E8 #EA87EF #F4BDF6
Accessibility & contrast
On white
3.21
#E151E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#E151E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E151E8
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E151E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E151E8 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#7096E4
Tritanopia (blue-blind)
#E66796
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #e151e8; /* rgb */ color: rgb(225, 81, 232); /* oklch */ color: oklch(68.4% 0.244 325.9);
Tailwind
colors: {
custom: {
50: '#ee8cf0',
500: '#e151e8',
950: '#000000',
},
}SCSS
$custom: #e151e8; $custom-light: #ee8cf0; $custom-dark: #000000;
JSON
{
"hex": "#e151e8",
"rgb": {
"r": 225,
"g": 81,
"b": 232
},
"hsl": {
"h": 297.219,
"s": 76.65,
"l": 61.373
},
"oklch": {
"l": 0.6837,
"c": 0.2444,
"h": 325.9
},
"luminance": 0.27719
}Semantic roles & 50–950 ramp
primary
#E151E8
secondary
#B1E7AE
accent
#D90D16
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84