#E87EF2#E87EF2
#E87EF2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.1% C 0.193 H 324.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #E87EF2 |
|---|---|
| RGB | rgb(232, 126, 242) |
| HSL | hsl(295, 82%, 72%) |
| HSV | hsv(295, 48%, 95%) |
| CMYK | cmyk(4.1%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(68.38, 57.36, -41.11) |
| CIE-LCH | lch(68.38, 70.57, 324.37°) |
| OKLab | oklab(75.11% 0.1559 -0.1132) |
| OKLCH | oklch(75.11% 0.193 324) |
| XYZ | xyz(56.7651, 38.4910, 88.4266) |
| Luminance | 0.3849 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.89
Purply Pink
#F075E6
ΔE00 3.02
Lavender Pink
#DD85D7
ΔE00 5.06
Light Magenta
#FA5FF7
ΔE00 5.12
Orchid
#DA70D6
ΔE00 5.17
Violet Pink
#FB5FFC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E87EF2 #88F27E
analogous
#AE7EF2 #E87EF2 #F27EC2
triadic
#E87EF2 #F2E87E #7EF2E8
tetradic
#E87EF2 #F2AE7E #88F27E #7EC2F2
square
#E87EF2 #F2AE7E #88F27E #7EC2F2
split-complementary
#E87EF2 #C2F27E #7EF2AE
monochromatic
#CE16DF #DE46EC #E87EF2 #F2B6F8 #FAE3FC
Accessibility & contrast
On white
2.41
#E87EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#E87EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E87EF2
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E87EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E87EF2 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#EC8CAD
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e87ef2; /* rgb */ color: rgb(232, 126, 242); /* oklch */ color: oklch(75.1% 0.193 324.0);
Tailwind
colors: {
custom: {
50: '#f1a7f6',
500: '#e87ef2',
950: '#000000',
},
}SCSS
$custom: #e87ef2; $custom-light: #f1a7f6; $custom-dark: #000000;
JSON
{
"hex": "#e87ef2",
"rgb": {
"r": 232,
"g": 126,
"b": 242
},
"hsl": {
"h": 294.828,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.75114,
"c": 0.19266,
"h": 324
},
"luminance": 0.38488
}Semantic roles & 50–950 ramp
primary
#E87EF2
secondary
#D9F4D7
accent
#DE071A
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85