#E87DF2#E87DF2
#E87DF2 is a light, vivid purple. Relative luminance 0.382; OKLCH L 75.0% C 0.194 H 324.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #E87DF2 |
|---|---|
| RGB | rgb(232, 125, 242) |
| HSL | hsl(295, 82%, 72%) |
| HSV | hsv(295, 48%, 95%) |
| CMYK | cmyk(4.1%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(68.19, 57.84, -41.40) |
| CIE-LCH | lch(68.19, 71.14, 324.41°) |
| OKLab | oklab(74.98% 0.1572 -0.114) |
| OKLCH | oklch(74.98% 0.194 324) |
| XYZ | xyz(56.6379, 38.2365, 88.3842) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.02
Purply Pink
#F075E6
ΔE00 2.95
Light Magenta
#FA5FF7
ΔE00 4.94
Violet Pink
#FB5FFC
ΔE00 5.01
Orchid
#DA70D6
ΔE00 5.07
Lavender Pink
#DD85D7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E87DF2 #87F27D
analogous
#AE7DF2 #E87DF2 #F27DC2
triadic
#E87DF2 #F2E87D #7DF2E8
tetradic
#E87DF2 #F2AE7D #87F27D #7DC2F2
square
#E87DF2 #F2AE7D #87F27D #7DC2F2
split-complementary
#E87DF2 #C2F27D #7DF2AE
monochromatic
#CD16DE #DE45EC #E87DF2 #F2B5F8 #FAE3FC
Accessibility & contrast
On white
2.43
#E87DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#E87DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E87DF2
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E87DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E87DF2 | 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)
#6E9EF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#EC8BAD
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #e87df2; /* rgb */ color: rgb(232, 125, 242); /* oklch */ color: oklch(75.0% 0.194 324.0);
Tailwind
colors: {
custom: {
50: '#f1a6f6',
500: '#e87df2',
950: '#000000',
},
}SCSS
$custom: #e87df2; $custom-light: #f1a6f6; $custom-dark: #000000;
JSON
{
"hex": "#e87df2",
"rgb": {
"r": 232,
"g": 125,
"b": 242
},
"hsl": {
"h": 294.872,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.74976,
"c": 0.19424,
"h": 324
},
"luminance": 0.38234
}Semantic roles & 50–950 ramp
primary
#E87DF2
secondary
#D9F4D7
accent
#DE071A
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85