#E151E7#E151E7
#E151E7 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.244 H 326.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E151E7 |
|---|---|
| RGB | rgb(225, 81, 231) |
| HSL | hsl(298, 76%, 61%) |
| HSV | hsv(298, 65%, 91%) |
| CMYK | cmyk(2.6%, 64.9%, 0%, 9.4%) |
| CIE-LAB | lab(59.58, 73.52, -48.92) |
| CIE-LCH | lch(59.58, 88.31, 326.36°) |
| OKLab | oklab(68.32% 0.2024 -0.1356) |
| OKLCH | oklch(68.32% 0.244 326.2) |
| XYZ | xyz(48.4166, 27.6650, 78.3755) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.90
Pinkish Purple
#D648D7
ΔE00 3.45
Pink Purple
#EF1DE7
ΔE00 4.20
Purpleish Pink
#DF4EC8
ΔE00 4.93
Bright Magenta
#FF08E8
ΔE00 4.93
Magenta
#FF00FF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E151E7 #57E751
analogous
#9651E7 #E151E7 #E751A2
triadic
#E151E7 #E7E151 #51E7E1
tetradic
#E151E7 #E79651 #57E751 #51A2E7
square
#E151E7 #E79651 #57E751 #51A2E7
split-complementary
#E151E7 #A2E751 #51E796
monochromatic
#A117A7 #D51EDC #E151E7 #EA87EE #F4BDF6
Accessibility & contrast
On white
3.21
#E151E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#E151E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E151E7
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E151E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E151E7 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#7196E3
Tritanopia (blue-blind)
#E76796
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #e151e7; /* rgb */ color: rgb(225, 81, 231); /* oklch */ color: oklch(68.3% 0.244 326.2);
Tailwind
colors: {
custom: {
50: '#ee8cef',
500: '#e151e7',
950: '#000000',
},
}SCSS
$custom: #e151e7; $custom-light: #ee8cef; $custom-dark: #000000;
JSON
{
"hex": "#e151e7",
"rgb": {
"r": 225,
"g": 81,
"b": 231
},
"hsl": {
"h": 297.6,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.68316,
"c": 0.2436,
"h": 326.2
},
"luminance": 0.27662
}Semantic roles & 50–950 ramp
primary
#E151E7
secondary
#B0E6AE
accent
#D80E16
background
#FFF9FE
surface
#FEF1FD
border
#D6CBD5
text
#170D16
muted
#857E84