#E87AFE#E87AFE
#E87AFE is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.2% C 0.210 H 320.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E87AFE |
|---|---|
| RGB | rgb(232, 122, 254) |
| HSL | hsl(290, 99%, 74%) |
| HSV | hsv(290, 52%, 100%) |
| CMYK | cmyk(8.7%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(68.19, 61.51, -47.99) |
| CIE-LCH | lch(68.19, 78.01, 322.04°) |
| OKLab | oklab(75.15% 0.1627 -0.133) |
| OKLCH | oklch(75.15% 0.21 320.7) |
| XYZ | xyz(58.1255, 38.2331, 98.0647) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.92
Violet Pink
#FB5FFC
ΔE00 4.55
Purply Pink
#F075E6
ΔE00 4.62
Light Magenta
#FA5FF7
ΔE00 4.76
Candy Pink
#FF63E9
ΔE00 6.15
Orchid
#DA70D6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E87AFE #90FE7A
analogous
#A67AFE #E87AFE #FE7AD2
triadic
#E87AFE #FEE87A #7AFEE8
tetradic
#E87AFE #FEA67A #90FE7A #7AD2FE
square
#E87AFE #FEA67A #90FE7A #7AD2FE
split-complementary
#E87AFE #D2FE7A #7AFEA6
monochromatic
#D202FC #DD3DFE #E87AFE #F3B7FE #FAE1FF
Accessibility & contrast
On white
2.43
#E87AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#E87AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E87AFE
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E87AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E87AFE | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#EA8CB1
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #e87afe; /* rgb */ color: rgb(232, 122, 254); /* oklch */ color: oklch(75.2% 0.210 320.7);
Tailwind
colors: {
custom: {
50: '#f2a4ff',
500: '#e87afe',
950: '#000000',
},
}SCSS
$custom: #e87afe; $custom-light: #f2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#e87afe",
"rgb": {
"r": 232,
"g": 122,
"b": 254
},
"hsl": {
"h": 290,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.75153,
"c": 0.21015,
"h": 320.7
},
"luminance": 0.38231
}Semantic roles & 50–950 ramp
primary
#E87AFE
secondary
#DAF7D4
accent
#E60026
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86