#E271DF#E271DF
#E271DF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.193 H 328.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #E271DF |
|---|---|
| RGB | rgb(226, 113, 223) |
| HSL | hsl(302, 66%, 66%) |
| HSV | hsv(302, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 1.3%, 11.4%) |
| CIE-LAB | lab(64.41, 58.60, -36.85) |
| CIE-LCH | lch(64.41, 69.23, 327.84°) |
| OKLab | oklab(71.75% 0.1639 -0.101) |
| OKLCH | oklch(71.75% 0.193 328.3) |
| XYZ | xyz(50.5877, 33.3096, 73.5626) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.70
Purply Pink
#F075E6
ΔE00 2.56
Violet (CSS)
#EE82EE
ΔE00 4.29
Candy Pink
#FF63E9
ΔE00 4.39
Light Magenta
#FA5FF7
ΔE00 4.72
Lavender Pink
#DD85D7
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271DF #71E274
analogous
#AD71E2 #E271DF #E271A7
triadic
#E271DF #DFE271 #71DFE2
tetradic
#E271DF #E2AD71 #71E274 #71A7E2
square
#E271DF #E2AD71 #71E274 #71A7E2
split-complementary
#E271DF #A7E271 #71E2AD
monochromatic
#B425B0 #D83ED4 #E271DF #ECA4EA #F7D7F6
Accessibility & contrast
On white
2.74
#E271DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#E271DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271DF
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271DF | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E87C9E
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #e271df; /* rgb */ color: rgb(226, 113, 223); /* oklch */ color: oklch(71.7% 0.193 328.3);
Tailwind
colors: {
custom: {
50: '#ed9ee9',
500: '#e271df',
950: '#000000',
},
}SCSS
$custom: #e271df; $custom-light: #ed9ee9; $custom-dark: #000000;
JSON
{
"hex": "#e271df",
"rgb": {
"r": 226,
"g": 113,
"b": 223
},
"hsl": {
"h": 301.593,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71746,
"c": 0.19251,
"h": 328.3
},
"luminance": 0.33307
}Semantic roles & 50–950 ramp
primary
#E271DF
secondary
#C5EAC6
accent
#CE1C18
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84