#E271E4#E271E4
#E271E4 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.197 H 326.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E271E4 |
|---|---|
| RGB | rgb(226, 113, 228) |
| HSL | hsl(299, 68%, 67%) |
| HSV | hsv(299, 50%, 89%) |
| CMYK | cmyk(0.9%, 50.4%, 0%, 10.6%) |
| CIE-LAB | lab(64.63, 59.48, -39.30) |
| CIE-LCH | lch(64.63, 71.28, 326.55°) |
| OKLab | oklab(71.98% 0.1646 -0.108) |
| OKLCH | oklch(71.98% 0.197 326.7) |
| XYZ | xyz(51.2718, 33.5833, 77.1653) |
| Luminance | 0.3358 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.31
Purply Pink
#F075E6
ΔE00 2.71
Violet (CSS)
#EE82EE
ΔE00 4.17
Light Magenta
#FA5FF7
ΔE00 4.28
Candy Pink
#FF63E9
ΔE00 4.46
Violet Pink
#FB5FFC
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271E4 #73E471
analogous
#A971E4 #E271E4 #E471AC
triadic
#E271E4 #E4E271 #71E4E2
tetradic
#E271E4 #E4A971 #73E471 #71ACE4
square
#E271E4 #E4A971 #73E471 #71ACE4
split-complementary
#E271E4 #ACE471 #71E4A9
monochromatic
#B523B8 #D73EDA #E271E4 #EDA4EE #F7D8F8
Accessibility & contrast
On white
2.72
#E271E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#E271E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271E4
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271E4 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#E87EA0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e271e4; /* rgb */ color: rgb(226, 113, 228); /* oklch */ color: oklch(72.0% 0.197 326.7);
Tailwind
colors: {
custom: {
50: '#ed9eed',
500: '#e271e4',
950: '#000000',
},
}SCSS
$custom: #e271e4; $custom-light: #ed9eed; $custom-dark: #000000;
JSON
{
"hex": "#e271e4",
"rgb": {
"r": 226,
"g": 113,
"b": 228
},
"hsl": {
"h": 298.957,
"s": 68.047,
"l": 66.863
},
"oklch": {
"l": 0.7198,
"c": 0.19688,
"h": 326.7
},
"luminance": 0.3358
}Semantic roles & 50–950 ramp
primary
#E271E4
secondary
#C7EBC6
accent
#D01619
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84