#E387FC#E387FC
#E387FC is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.3% C 0.185 H 318.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #E387FC |
|---|---|
| RGB | rgb(227, 135, 252) |
| HSL | hsl(287, 95%, 76%) |
| HSV | hsv(287, 46%, 99%) |
| CMYK | cmyk(9.9%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(69.96, 53.37, -44.16) |
| CIE-LCH | lch(69.96, 69.27, 320.40°) |
| OKLab | oklab(76.3% 0.1395 -0.1221) |
| OKLCH | oklch(76.3% 0.185 318.8) |
| XYZ | xyz(57.9109, 40.6891, 96.8798) |
| Luminance | 0.4069 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.65
Purply Pink
#F075E6
ΔE00 5.58
Liliac
#C48EFD
ΔE00 6.15
Lavender Pink
#DD85D7
ΔE00 6.36
Baby Purple
#CA9BF7
ΔE00 6.80
Violet Pink
#FB5FFC
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E387FC #A0FC87
analogous
#A887FC #E387FC #FC87DB
triadic
#E387FC #FCE387 #87FCE3
tetradic
#E387FC #FCA887 #A0FC87 #87DBFC
square
#E387FC #FCA887 #A0FC87 #87DBFC
split-complementary
#E387FC #DBFC87 #87FCA8
monochromatic
#C710F9 #D54BFB #E387FC #F1C3FD #F8E1FE
Accessibility & contrast
On white
2.30
#E387FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#E387FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E387FC
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E387FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E387FC | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#8EAEF9
Tritanopia (blue-blind)
#E397B6
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e387fc; /* rgb */ color: rgb(227, 135, 252); /* oklch */ color: oklch(76.3% 0.185 318.8);
Tailwind
colors: {
custom: {
50: '#eeacfe',
500: '#e387fc',
950: '#000000',
},
}SCSS
$custom: #e387fc; $custom-light: #eeacfe; $custom-dark: #000000;
JSON
{
"hex": "#e387fc",
"rgb": {
"r": 227,
"g": 135,
"b": 252
},
"hsl": {
"h": 287.179,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.76302,
"c": 0.18541,
"h": 318.8
},
"luminance": 0.40687
}Semantic roles & 50–950 ramp
primary
#E387FC
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86