#E271DB#E271DB
#E271DB is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.189 H 329.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #E271DB |
|---|---|
| RGB | rgb(226, 113, 219) |
| HSL | hsl(304, 66%, 66%) |
| HSV | hsv(304, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 3.1%, 11.4%) |
| CIE-LAB | lab(64.24, 57.92, -34.89) |
| CIE-LCH | lch(64.24, 67.61, 328.93°) |
| OKLab | oklab(71.56% 0.1632 -0.0954) |
| OKLCH | oklch(71.56% 0.189 329.7) |
| XYZ | xyz(50.0548, 33.0965, 70.7559) |
| Luminance | 0.3309 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.42
Purply Pink
#F075E6
ΔE00 2.66
Candy Pink
#FF63E9
ΔE00 4.46
Violet (CSS)
#EE82EE
ΔE00 4.52
Lavender Pink
#DD85D7
ΔE00 4.52
Orchid (survey)
#C875C4
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271DB #71E278
analogous
#B171E2 #E271DB #E271A3
triadic
#E271DB #DBE271 #71DBE2
tetradic
#E271DB #E2B171 #71E278 #71A3E2
square
#E271DB #E2B171 #71E278 #71A3E2
split-complementary
#E271DB #A3E271 #71E2B1
monochromatic
#B425AB #D83ECE #E271DB #ECA4E8 #F7D7F5
Accessibility & contrast
On white
2.76
#E271DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#E271DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271DB
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271DB | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#E97B9C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e271db; /* rgb */ color: rgb(226, 113, 219); /* oklch */ color: oklch(71.6% 0.189 329.7);
Tailwind
colors: {
custom: {
50: '#ed9ee6',
500: '#e271db',
950: '#000000',
},
}SCSS
$custom: #e271db; $custom-light: #ed9ee6; $custom-dark: #000000;
JSON
{
"hex": "#e271db",
"rgb": {
"r": 226,
"g": 113,
"b": 219
},
"hsl": {
"h": 303.717,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71563,
"c": 0.18906,
"h": 329.7
},
"luminance": 0.33093
}Semantic roles & 50–950 ramp
primary
#E271DB
secondary
#C5EAC7
accent
#CE2318
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84