#E291FE#E291FE
#E291FE is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.8% C 0.171 H 317.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E291FE |
|---|---|
| RGB | rgb(226, 145, 254) |
| HSL | hsl(285, 98%, 78%) |
| HSV | hsv(285, 43%, 100%) |
| CMYK | cmyk(11%, 42.9%, 0%, 0.4%) |
| CIE-LAB | lab(71.94, 48.35, -42.15) |
| CIE-LCH | lch(71.94, 64.14, 318.92°) |
| OKLab | oklab(77.79% 0.1249 -0.1164) |
| OKLCH | oklch(77.79% 0.171 317) |
| XYZ | xyz(59.3762, 43.5770, 99.0301) |
| Luminance | 0.4358 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.76
Baby Purple
#CA9BF7
ΔE00 5.29
Liliac
#C48EFD
ΔE00 5.74
Lilac (survey)
#CEA2FD
ΔE00 5.99
Pastel Purple
#CAA0FF
ΔE00 6.34
Lavender (survey)
#C79FEF
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E291FE #ADFE91
analogous
#AB91FE #E291FE #FE91E3
triadic
#E291FE #FEE291 #91FEE2
tetradic
#E291FE #FEAB91 #ADFE91 #91E3FE
square
#E291FE #FEAB91 #ADFE91 #91E3FE
split-complementary
#E291FE #E3FE91 #91FEAB
monochromatic
#C218FD #D254FD #E291FE #F2CEFF #F7E1FF
Accessibility & contrast
On white
2.16
#E291FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#E291FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E291FE
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E291FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E291FE | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#E1A0BC
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #e291fe; /* rgb */ color: rgb(226, 145, 254); /* oklch */ color: oklch(77.8% 0.171 317.0);
Tailwind
colors: {
custom: {
50: '#edb3ff',
500: '#e291fe',
950: '#000000',
},
}SCSS
$custom: #e291fe; $custom-light: #edb3ff; $custom-dark: #000000;
JSON
{
"hex": "#e291fe",
"rgb": {
"r": 226,
"g": 145,
"b": 254
},
"hsl": {
"h": 284.587,
"s": 98.198,
"l": 78.235
},
"oklch": {
"l": 0.77788,
"c": 0.17076,
"h": 317
},
"luminance": 0.43575
}Semantic roles & 50–950 ramp
primary
#E291FE
secondary
#DDF7D4
accent
#E6003B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086