#E271D7#E271D7
#E271D7 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.186 H 331.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #E271D7 |
|---|---|
| RGB | rgb(226, 113, 215) |
| HSL | hsl(306, 66%, 66%) |
| HSV | hsv(306, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 4.9%, 11.4%) |
| CIE-LAB | lab(64.07, 57.24, -32.91) |
| CIE-LCH | lch(64.07, 66.03, 330.10°) |
| OKLab | oklab(71.38% 0.1625 -0.0898) |
| OKLCH | oklch(71.38% 0.186 331.1) |
| XYZ | xyz(49.5345, 32.8884, 68.0158) |
| Luminance | 0.3288 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.49
Purply Pink
#F075E6
ΔE00 2.94
Lavender Pink
#DD85D7
ΔE00 4.34
Candy Pink
#FF63E9
ΔE00 4.65
Orchid (survey)
#C875C4
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271D7 #71E27C
analogous
#B571E2 #E271D7 #E2719F
triadic
#E271D7 #D7E271 #71D7E2
tetradic
#E271D7 #E2B571 #71E27C #719FE2
square
#E271D7 #E2B571 #71E27C #719FE2
split-complementary
#E271D7 #9FE271 #71E2B5
monochromatic
#B425A6 #D83EC9 #E271D7 #ECA4E5 #F7D7F4
Accessibility & contrast
On white
2.77
#E271D7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#E271D7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271D7
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271D7 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C91DA
Deuteranopia (green-blind)
#8DA1D4
Tritanopia (blue-blind)
#EA7A9A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e271d7; /* rgb */ color: rgb(226, 113, 215); /* oklch */ color: oklch(71.4% 0.186 331.1);
Tailwind
colors: {
custom: {
50: '#ed9ee3',
500: '#e271d7',
950: '#000000',
},
}SCSS
$custom: #e271d7; $custom-light: #ed9ee3; $custom-dark: #000000;
JSON
{
"hex": "#e271d7",
"rgb": {
"r": 226,
"g": 113,
"b": 215
},
"hsl": {
"h": 305.841,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71383,
"c": 0.18568,
"h": 331.1
},
"luminance": 0.32885
}Semantic roles & 50–950 ramp
primary
#E271D7
secondary
#C5EAC9
accent
#CE2918
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83