#E371F2#E371F2
#E371F2 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.210 H 322.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E371F2 |
|---|---|
| RGB | rgb(227, 113, 242) |
| HSL | hsl(293, 83%, 70%) |
| HSV | hsv(293, 53%, 95%) |
| CMYK | cmyk(6.2%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.40, 62.25, -45.83) |
| CIE-LCH | lch(65.40, 77.30, 323.64°) |
| OKLab | oklab(72.78% 0.1674 -0.1268) |
| OKLCH | oklch(72.78% 0.21 322.9) |
| XYZ | xyz(53.6091, 34.5545, 87.8331) |
| Luminance | 0.3455 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.77
Violet Pink
#FB5FFC
ΔE00 3.83
Purply Pink
#F075E6
ΔE00 3.91
Orchid
#DA70D6
ΔE00 4.40
Violet (CSS)
#EE82EE
ΔE00 4.54
Candy Pink
#FF63E9
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E371F2 #80F271
analogous
#A271F2 #E371F2 #F271C1
triadic
#E371F2 #F2E371 #71F2E3
tetradic
#E371F2 #F2A271 #80F271 #71C1F2
square
#E371F2 #F2A271 #80F271 #71C1F2
split-complementary
#E371F2 #C1F271 #71F2A2
monochromatic
#BF14D5 #D839ED #E371F2 #EEA9F7 #F9E1FC
Accessibility & contrast
On white
2.65
#E371F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#E371F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E371F2
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E371F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E371F2 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#82A3EE
Tritanopia (blue-blind)
#E682A7
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e371f2; /* rgb */ color: rgb(227, 113, 242); /* oklch */ color: oklch(72.8% 0.210 322.9);
Tailwind
colors: {
custom: {
50: '#ee9ef7',
500: '#e371f2',
950: '#000000',
},
}SCSS
$custom: #e371f2; $custom-light: #ee9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e371f2",
"rgb": {
"r": 227,
"g": 113,
"b": 242
},
"hsl": {
"h": 293.023,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.72783,
"c": 0.21004,
"h": 322.9
},
"luminance": 0.34552
}Semantic roles & 50–950 ramp
primary
#E371F2
secondary
#D1F2CD
accent
#E0061F
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85