#E87FE2#E87FE2
#E87FE2 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.177 H 329.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #E87FE2 |
|---|---|
| RGB | rgb(232, 127, 226) |
| HSL | hsl(303, 70%, 70%) |
| HSV | hsv(303, 45%, 91%) |
| CMYK | cmyk(0%, 45.3%, 2.6%, 9%) |
| CIE-LAB | lab(67.89, 54.02, -33.05) |
| CIE-LCH | lch(67.89, 63.33, 328.54°) |
| OKLab | oklab(74.53% 0.1518 -0.0902) |
| OKLCH | oklch(74.53% 0.177 329.3) |
| XYZ | xyz(54.5948, 37.8285, 76.3627) |
| Luminance | 0.3783 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.95
Purply Pink
#F075E6
ΔE00 2.18
Lavender Pink
#DD85D7
ΔE00 2.71
Orchid
#DA70D6
ΔE00 4.20
Candy Pink
#FF63E9
ΔE00 5.20
Light Magenta
#FA5FF7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E87FE2 #7FE885
analogous
#BA7FE8 #E87FE2 #E87FAD
triadic
#E87FE2 #E2E87F #7FE2E8
tetradic
#E87FE2 #E8BA7F #7FE885 #7FADE8
square
#E87FE2 #E8BA7F #7FE885 #7FADE8
split-complementary
#E87FE2 #ADE87F #7FE8BA
monochromatic
#C924BF #DF4BD6 #E87FE2 #F1B3EE #FAE5F9
Accessibility & contrast
On white
2.45
#E87FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#E87FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E87FE2
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E87FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E87FE2 | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#96ABDF
Tritanopia (blue-blind)
#EF88A6
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #e87fe2; /* rgb */ color: rgb(232, 127, 226); /* oklch */ color: oklch(74.5% 0.177 329.3);
Tailwind
colors: {
custom: {
50: '#f1a7eb',
500: '#e87fe2',
950: '#000000',
},
}SCSS
$custom: #e87fe2; $custom-light: #f1a7eb; $custom-dark: #000000;
JSON
{
"hex": "#e87fe2",
"rgb": {
"r": 232,
"g": 127,
"b": 226
},
"hsl": {
"h": 303.429,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.74531,
"c": 0.17653,
"h": 329.3
},
"luminance": 0.37826
}Semantic roles & 50–950 ramp
primary
#E87FE2
secondary
#D3F0D5
accent
#D21F14
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84