#E271E9#E271E9
#E271E9 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.2% C 0.201 H 325.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E271E9 |
|---|---|
| RGB | rgb(226, 113, 233) |
| HSL | hsl(297, 73%, 68%) |
| HSV | hsv(297, 52%, 91%) |
| CMYK | cmyk(3%, 51.5%, 0%, 8.6%) |
| CIE-LAB | lab(64.86, 60.36, -41.72) |
| CIE-LCH | lch(64.86, 73.38, 325.35°) |
| OKLab | oklab(72.22% 0.1653 -0.115) |
| OKLCH | oklch(72.22% 0.201 325.2) |
| XYZ | xyz(51.9759, 33.8649, 80.8738) |
| Luminance | 0.3386 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.04
Purply Pink
#F075E6
ΔE00 3.08
Light Magenta
#FA5FF7
ΔE00 3.99
Violet (CSS)
#EE82EE
ΔE00 4.22
Violet Pink
#FB5FFC
ΔE00 4.28
Candy Pink
#FF63E9
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271E9 #78E971
analogous
#A671E9 #E271E9 #E971B4
triadic
#E271E9 #E9E271 #71E9E2
tetradic
#E271E9 #E9A671 #78E971 #71B4E9
square
#E271E9 #E9A671 #78E971 #71B4E9
split-complementary
#E271E9 #B4E971 #71E9A6
monochromatic
#B81EC2 #D73CE1 #E271E9 #EDA6F1 #F8DBF9
Accessibility & contrast
On white
2.70
#E271E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#E271E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271E9
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271E9 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6294ED
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#E780A3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e271e9; /* rgb */ color: rgb(226, 113, 233); /* oklch */ color: oklch(72.2% 0.201 325.2);
Tailwind
colors: {
custom: {
50: '#ee9ef0',
500: '#e271e9',
950: '#000000',
},
}SCSS
$custom: #e271e9; $custom-light: #ee9ef0; $custom-dark: #000000;
JSON
{
"hex": "#e271e9",
"rgb": {
"r": 226,
"g": 113,
"b": 233
},
"hsl": {
"h": 296.5,
"s": 73.171,
"l": 67.843
},
"oklch": {
"l": 0.72219,
"c": 0.20135,
"h": 325.2
},
"luminance": 0.33862
}Semantic roles & 50–950 ramp
primary
#E271E9
secondary
#CBEDC8
accent
#D5101C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84