#E871E2#E871E2
#E871E2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.6% C 0.199 H 329.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E871E2 |
|---|---|
| RGB | rgb(232, 113, 226) |
| HSL | hsl(303, 72%, 68%) |
| HSV | hsv(303, 51%, 91%) |
| CMYK | cmyk(0%, 51.3%, 2.6%, 9%) |
| CIE-LAB | lab(65.33, 60.77, -37.04) |
| CIE-LCH | lch(65.33, 71.17, 328.64°) |
| OKLab | oklab(72.63% 0.1709 -0.1014) |
| OKLCH | oklch(72.63% 0.199 329.3) |
| XYZ | xyz(52.9107, 34.4602, 75.8014) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.65
Orchid
#DA70D6
ΔE00 2.59
Candy Pink
#FF63E9
ΔE00 3.55
Violet (CSS)
#EE82EE
ΔE00 3.73
Light Magenta
#FA5FF7
ΔE00 4.13
Violet Pink
#FB5FFC
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E871E2 #71E877
analogous
#B271E8 #E871E2 #E871A7
triadic
#E871E2 #E2E871 #71E2E8
tetradic
#E871E2 #E8B271 #71E877 #71A7E8
square
#E871E2 #E8B271 #71E877 #71A7E8
split-complementary
#E871E2 #A7E871 #71E8B2
monochromatic
#C01FB7 #DF3CD7 #E871E2 #F1A6ED #F9DAF8
Accessibility & contrast
On white
2.66
#E871E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#E871E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E871E2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E871E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E871E2 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6994E6
Deuteranopia (green-blind)
#8DA4DF
Tritanopia (blue-blind)
#EF7C9F
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e871e2; /* rgb */ color: rgb(232, 113, 226); /* oklch */ color: oklch(72.6% 0.199 329.3);
Tailwind
colors: {
custom: {
50: '#f29eeb',
500: '#e871e2',
950: '#000000',
},
}SCSS
$custom: #e871e2; $custom-light: #f29eeb; $custom-dark: #000000;
JSON
{
"hex": "#e871e2",
"rgb": {
"r": 232,
"g": 113,
"b": 226
},
"hsl": {
"h": 303.025,
"s": 72.121,
"l": 67.647
},
"oklch": {
"l": 0.72628,
"c": 0.19876,
"h": 329.3
},
"luminance": 0.34457
}Semantic roles & 50–950 ramp
primary
#E871E2
secondary
#C8EDCA
accent
#D41B11
background
#FFFAFE
surface
#FEF3FD
border
#D6CDD5
text
#170F16
muted
#857F84