#E271E5#E271E5
#E271E5 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.198 H 326.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #E271E5 |
|---|---|
| RGB | rgb(226, 113, 229) |
| HSL | hsl(298, 69%, 67%) |
| HSV | hsv(298, 51%, 90%) |
| CMYK | cmyk(1.3%, 50.7%, 0%, 10.2%) |
| CIE-LAB | lab(64.67, 59.65, -39.78) |
| CIE-LCH | lch(64.67, 71.70, 326.30°) |
| OKLab | oklab(72.03% 0.1648 -0.1094) |
| OKLCH | oklch(72.03% 0.198 326.4) |
| XYZ | xyz(51.4110, 33.6389, 77.8986) |
| Luminance | 0.3364 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.45
Purply Pink
#F075E6
ΔE00 2.76
Violet (CSS)
#EE82EE
ΔE00 4.17
Light Magenta
#FA5FF7
ΔE00 4.21
Candy Pink
#FF63E9
ΔE00 4.49
Violet Pink
#FB5FFC
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271E5 #74E571
analogous
#A871E5 #E271E5 #E571AE
triadic
#E271E5 #E5E271 #71E5E2
tetradic
#E271E5 #E5A871 #74E571 #71AEE5
square
#E271E5 #E5A871 #74E571 #71AEE5
split-complementary
#E271E5 #AEE571 #71E5A8
monochromatic
#B622BA #D73DDC #E271E5 #EDA5EE #F7D8F8
Accessibility & contrast
On white
2.72
#E271E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#E271E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271E5
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271E5 | 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)
#6594E9
Deuteranopia (green-blind)
#87A2E2
Tritanopia (blue-blind)
#E77EA1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e271e5; /* rgb */ color: rgb(226, 113, 229); /* oklch */ color: oklch(72.0% 0.198 326.4);
Tailwind
colors: {
custom: {
50: '#ed9eed',
500: '#e271e5',
950: '#000000',
},
}SCSS
$custom: #e271e5; $custom-light: #ed9eed; $custom-dark: #000000;
JSON
{
"hex": "#e271e5",
"rgb": {
"r": 226,
"g": 113,
"b": 229
},
"hsl": {
"h": 298.448,
"s": 69.048,
"l": 67.059
},
"oklch": {
"l": 0.72027,
"c": 0.19777,
"h": 326.4
},
"luminance": 0.33636
}Semantic roles & 50–950 ramp
primary
#E271E5
secondary
#C7EBC6
accent
#D11419
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84