#E371FB#E371FB
#E371FB is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.218 H 320.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E371FB |
|---|---|
| RGB | rgb(227, 113, 251) |
| HSL | hsl(290, 95%, 71%) |
| HSV | hsv(290, 55%, 98%) |
| CMYK | cmyk(9.6%, 55%, 0%, 1.6%) |
| CIE-LAB | lab(65.83, 63.91, -50.10) |
| CIE-LCH | lch(65.83, 81.21, 321.91°) |
| OKLab | oklab(73.24% 0.1682 -0.1392) |
| OKLCH | oklch(73.24% 0.218 320.4) |
| XYZ | xyz(54.9942, 35.1086, 95.1279) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.98
Light Magenta
#FA5FF7
ΔE00 4.15
Purply Pink
#F075E6
ΔE00 5.07
Violet (CSS)
#EE82EE
ΔE00 5.30
Orchid
#DA70D6
ΔE00 5.75
Candy Pink
#FF63E9
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E371FB #89FB71
analogous
#9E71FB #E371FB #FB71CE
triadic
#E371FB #FBE371 #71FBE3
tetradic
#E371FB #FB9E71 #89FB71 #71CEFB
square
#E371FB #FB9E71 #89FB71 #71CEFB
split-complementary
#E371FB #CEFB71 #71FB9E
monochromatic
#C307EB #D735F9 #E371FB #EFADFD #F9E1FE
Accessibility & contrast
On white
2.62
#E371FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#E371FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E371FB
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E371FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E371FB | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#E485AC
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e371fb; /* rgb */ color: rgb(227, 113, 251); /* oklch */ color: oklch(73.2% 0.218 320.4);
Tailwind
colors: {
custom: {
50: '#ef9ffd',
500: '#e371fb',
950: '#000000',
},
}SCSS
$custom: #e371fb; $custom-light: #ef9ffd; $custom-dark: #000000;
JSON
{
"hex": "#e371fb",
"rgb": {
"r": 227,
"g": 113,
"b": 251
},
"hsl": {
"h": 289.565,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.73241,
"c": 0.21837,
"h": 320.4
},
"luminance": 0.35106
}Semantic roles & 50–950 ramp
primary
#E371FB
secondary
#D8F6D2
accent
#E60028
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86