#E387FB#E387FB
#E387FB is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.3% C 0.184 H 319.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E387FB |
|---|---|
| RGB | rgb(227, 135, 251) |
| HSL | hsl(288, 94%, 76%) |
| HSV | hsv(288, 46%, 98%) |
| CMYK | cmyk(9.6%, 46.2%, 0%, 1.6%) |
| CIE-LAB | lab(69.91, 53.18, -43.68) |
| CIE-LCH | lch(69.91, 68.82, 320.60°) |
| OKLab | oklab(76.25% 0.1393 -0.1208) |
| OKLCH | oklch(76.25% 0.184 319.1) |
| XYZ | xyz(57.7528, 40.6259, 96.0475) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.51
Purply Pink
#F075E6
ΔE00 5.46
Lavender Pink
#DD85D7
ΔE00 6.20
Liliac
#C48EFD
ΔE00 6.22
Baby Purple
#CA9BF7
ΔE00 6.82
Violet Pink
#FB5FFC
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E387FB #9FFB87
analogous
#A987FB #E387FB #FB87D9
triadic
#E387FB #FBE387 #87FBE3
tetradic
#E387FB #FBA987 #9FFB87 #87D9FB
square
#E387FB #FBA987 #9FFB87 #87D9FB
split-complementary
#E387FB #D9FB87 #87FBA9
monochromatic
#C711F7 #D54CF9 #E387FB #F1C2FD #F8E1FE
Accessibility & contrast
On white
2.30
#E387FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#E387FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E387FB
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E387FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E387FB | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#E497B5
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e387fb; /* rgb */ color: rgb(227, 135, 251); /* oklch */ color: oklch(76.3% 0.184 319.1);
Tailwind
colors: {
custom: {
50: '#eeacfd',
500: '#e387fb',
950: '#000000',
},
}SCSS
$custom: #e387fb; $custom-light: #eeacfd; $custom-dark: #000000;
JSON
{
"hex": "#e387fb",
"rgb": {
"r": 227,
"g": 135,
"b": 251
},
"hsl": {
"h": 287.586,
"s": 93.548,
"l": 75.686
},
"oklch": {
"l": 0.76254,
"c": 0.18439,
"h": 319.1
},
"luminance": 0.40624
}Semantic roles & 50–950 ramp
primary
#E387FB
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85