#E371F6#E371F6
#E371F6 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.214 H 321.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E371F6 |
|---|---|
| RGB | rgb(227, 113, 246) |
| HSL | hsl(291, 88%, 70%) |
| HSV | hsv(291, 54%, 96%) |
| CMYK | cmyk(7.7%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.59, 62.98, -47.74) |
| CIE-LCH | lch(65.59, 79.03, 322.84°) |
| OKLab | oklab(72.99% 0.1678 -0.1323) |
| OKLCH | oklch(72.99% 0.214 321.7) |
| XYZ | xyz(54.2164, 34.7975, 91.0317) |
| Luminance | 0.3479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.84
Light Magenta
#FA5FF7
ΔE00 3.89
Purply Pink
#F075E6
ΔE00 4.42
Violet (CSS)
#EE82EE
ΔE00 4.85
Orchid
#DA70D6
ΔE00 5.00
Candy Pink
#FF63E9
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E371F6 #84F671
analogous
#A171F6 #E371F6 #F671C6
triadic
#E371F6 #F6E371 #71F6E3
tetradic
#E371F6 #F6A171 #84F671 #71C6F6
square
#E371F6 #F6A171 #84F671 #71C6F6
split-complementary
#E371F6 #C6F671 #71F6A1
monochromatic
#C10EDE #D837F2 #E371F6 #EEABFA #F9E2FD
Accessibility & contrast
On white
2.64
#E371F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#E371F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E371F6
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E371F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E371F6 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#80A4F2
Tritanopia (blue-blind)
#E584A9
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e371f6; /* rgb */ color: rgb(227, 113, 246); /* oklch */ color: oklch(73.0% 0.214 321.7);
Tailwind
colors: {
custom: {
50: '#ee9ef9',
500: '#e371f6',
950: '#000000',
},
}SCSS
$custom: #e371f6; $custom-light: #ee9ef9; $custom-dark: #000000;
JSON
{
"hex": "#e371f6",
"rgb": {
"r": 227,
"g": 113,
"b": 246
},
"hsl": {
"h": 291.429,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.72985,
"c": 0.21373,
"h": 321.7
},
"luminance": 0.34795
}Semantic roles & 50–950 ramp
primary
#E371F6
secondary
#D4F4CF
accent
#E50121
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85