#E271E2#E271E2
#E271E2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.9% C 0.195 H 327.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E271E2 |
|---|---|
| RGB | rgb(226, 113, 226) |
| HSL | hsl(300, 66%, 66%) |
| HSV | hsv(300, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 0%, 11.4%) |
| CIE-LAB | lab(64.54, 59.13, -38.32) |
| CIE-LCH | lch(64.54, 70.46, 327.05°) |
| OKLab | oklab(71.89% 0.1643 -0.1052) |
| OKLCH | oklch(71.89% 0.195 327.4) |
| XYZ | xyz(50.9958, 33.4728, 75.7116) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.05
Purply Pink
#F075E6
ΔE00 2.62
Violet (CSS)
#EE82EE
ΔE00 4.20
Candy Pink
#FF63E9
ΔE00 4.42
Light Magenta
#FA5FF7
ΔE00 4.44
Violet Pink
#FB5FFC
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271E2 #71E271
analogous
#AA71E2 #E271E2 #E271AA
triadic
#E271E2 #E2E271 #71E2E2
tetradic
#E271E2 #E2AA71 #71E271 #71AAE2
square
#E271E2 #E2AA71 #71E271 #71AAE2
split-complementary
#E271E2 #AAE271 #71E2AA
monochromatic
#B425B4 #D83ED8 #E271E2 #ECA4EC #F7D7F7
Accessibility & contrast
On white
2.73
#E271E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#E271E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271E2
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271E2 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#88A2DF
Tritanopia (blue-blind)
#E87D9F
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e271e2; /* rgb */ color: rgb(226, 113, 226); /* oklch */ color: oklch(71.9% 0.195 327.4);
Tailwind
colors: {
custom: {
50: '#ed9eeb',
500: '#e271e2',
950: '#000000',
},
}SCSS
$custom: #e271e2; $custom-light: #ed9eeb; $custom-dark: #000000;
JSON
{
"hex": "#e271e2",
"rgb": {
"r": 226,
"g": 113,
"b": 226
},
"hsl": {
"h": 300,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71886,
"c": 0.19512,
"h": 327.4
},
"luminance": 0.3347
}Semantic roles & 50–950 ramp
primary
#E271E2
secondary
#C5EAC5
accent
#CE1818
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84