#E371E2#E371E2
#E371E2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.196 H 327.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #E371E2 |
|---|---|
| RGB | rgb(227, 113, 226) |
| HSL | hsl(301, 67%, 67%) |
| HSV | hsv(301, 50%, 89%) |
| CMYK | cmyk(0%, 50.2%, 0.4%, 11%) |
| CIE-LAB | lab(64.67, 59.40, -38.11) |
| CIE-LCH | lch(64.67, 70.57, 327.32°) |
| OKLab | oklab(72.01% 0.1654 -0.1046) |
| OKLCH | oklch(72.01% 0.196 327.7) |
| XYZ | xyz(51.3103, 33.6350, 75.7263) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.11
Purply Pink
#F075E6
ΔE00 2.45
Violet (CSS)
#EE82EE
ΔE00 4.11
Candy Pink
#FF63E9
ΔE00 4.26
Light Magenta
#FA5FF7
ΔE00 4.37
Violet Pink
#FB5FFC
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E371E2 #71E372
analogous
#AB71E3 #E371E2 #E371A9
triadic
#E371E2 #E2E371 #71E2E3
tetradic
#E371E2 #E3AB71 #71E372 #71A9E3
square
#E371E2 #E3AB71 #71E372 #71A9E3
split-complementary
#E371E2 #A9E371 #71E3AB
monochromatic
#B624B4 #D93ED8 #E371E2 #EDA4EC #F7D7F7
Accessibility & contrast
On white
2.72
#E371E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#E371E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E371E2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E371E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E371E2 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#E97D9F
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e371e2; /* rgb */ color: rgb(227, 113, 226); /* oklch */ color: oklch(72.0% 0.196 327.7);
Tailwind
colors: {
custom: {
50: '#ee9eeb',
500: '#e371e2',
950: '#000000',
},
}SCSS
$custom: #e371e2; $custom-light: #ee9eeb; $custom-dark: #000000;
JSON
{
"hex": "#e371e2",
"rgb": {
"r": 227,
"g": 113,
"b": 226
},
"hsl": {
"h": 300.526,
"s": 67.059,
"l": 66.667
},
"oklch": {
"l": 0.72009,
"c": 0.19572,
"h": 327.7
},
"luminance": 0.33632
}Semantic roles & 50–950 ramp
primary
#E371E2
secondary
#C6EAC6
accent
#CF1817
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84