#E387EC#E387EC
#E387EC is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.6% C 0.170 H 323.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E387EC |
|---|---|
| RGB | rgb(227, 135, 236) |
| HSL | hsl(295, 73%, 73%) |
| HSV | hsv(295, 43%, 93%) |
| CMYK | cmyk(3.8%, 42.8%, 0%, 7.5%) |
| CIE-LAB | lab(69.27, 50.34, -36.48) |
| CIE-LCH | lch(69.27, 62.16, 324.07°) |
| OKLab | oklab(75.56% 0.1368 -0.1001) |
| OKLCH | oklch(75.56% 0.17 323.8) |
| XYZ | xyz(55.4814, 39.7173, 84.0843) |
| Luminance | 0.3972 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.99
Lavender Pink
#DD85D7
ΔE00 3.63
Purply Pink
#F075E6
ΔE00 4.07
Orchid
#DA70D6
ΔE00 5.70
Candy Pink
#FF63E9
ΔE00 6.98
Light Magenta
#FA5FF7
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E387EC #90EC87
analogous
#B087EC #E387EC #EC87C3
triadic
#E387EC #ECE387 #87ECE3
tetradic
#E387EC #ECB087 #90EC87 #87C3EC
square
#E387EC #ECB087 #90EC87 #87C3EC
split-complementary
#E387EC #C3EC87 #87ECB0
monochromatic
#C722D7 #D752E4 #E387EC #EFBCF4 #F9E5FB
Accessibility & contrast
On white
2.35
#E387EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#E387EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E387EC
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E387EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E387EC | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA2F0
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#E792AF
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e387ec; /* rgb */ color: rgb(227, 135, 236); /* oklch */ color: oklch(75.6% 0.170 323.8);
Tailwind
colors: {
custom: {
50: '#edacf2',
500: '#e387ec',
950: '#000000',
},
}SCSS
$custom: #e387ec; $custom-light: #edacf2; $custom-dark: #000000;
JSON
{
"hex": "#e387ec",
"rgb": {
"r": 227,
"g": 135,
"b": 236
},
"hsl": {
"h": 294.653,
"s": 72.662,
"l": 72.745
},
"oklch": {
"l": 0.75562,
"c": 0.16951,
"h": 323.8
},
"luminance": 0.39715
}Semantic roles & 50–950 ramp
primary
#E387EC
secondary
#DBF2D9
accent
#D51122
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85