#E271E6#E271E6
#E271E6 is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.1% C 0.199 H 326.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #E271E6 |
|---|---|
| RGB | rgb(226, 113, 230) |
| HSL | hsl(298, 70%, 67%) |
| HSV | hsv(298, 51%, 90%) |
| CMYK | cmyk(1.7%, 50.9%, 0%, 9.8%) |
| CIE-LAB | lab(64.72, 59.83, -40.27) |
| CIE-LCH | lch(64.72, 72.12, 326.06°) |
| OKLab | oklab(72.08% 0.1649 -0.1108) |
| OKLCH | oklch(72.08% 0.199 326.1) |
| XYZ | xyz(51.5510, 33.6950, 78.6360) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.60
Purply Pink
#F075E6
ΔE00 2.83
Light Magenta
#FA5FF7
ΔE00 4.15
Violet (CSS)
#EE82EE
ΔE00 4.17
Violet Pink
#FB5FFC
ΔE00 4.50
Candy Pink
#FF63E9
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271E6 #75E671
analogous
#A871E6 #E271E6 #E671AF
triadic
#E271E6 #E6E271 #71E6E2
tetradic
#E271E6 #E6A871 #75E671 #71AFE6
square
#E271E6 #E6A871 #75E671 #71AFE6
split-complementary
#E271E6 #AFE671 #71E6A8
monochromatic
#B621BC #D73DDD #E271E6 #EDA5EF #F7D9F8
Accessibility & contrast
On white
2.71
#E271E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#E271E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271E6
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271E6 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6494EA
Deuteranopia (green-blind)
#87A2E3
Tritanopia (blue-blind)
#E77FA1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e271e6; /* rgb */ color: rgb(226, 113, 230); /* oklch */ color: oklch(72.1% 0.199 326.1);
Tailwind
colors: {
custom: {
50: '#ed9eee',
500: '#e271e6',
950: '#000000',
},
}SCSS
$custom: #e271e6; $custom-light: #ed9eee; $custom-dark: #000000;
JSON
{
"hex": "#e271e6",
"rgb": {
"r": 226,
"g": 113,
"b": 230
},
"hsl": {
"h": 297.949,
"s": 70.06,
"l": 67.255
},
"oklch": {
"l": 0.72075,
"c": 0.19866,
"h": 326.1
},
"luminance": 0.33692
}Semantic roles & 50–950 ramp
primary
#E271E6
secondary
#C8ECC7
accent
#D2131A
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84