#E271D5#E271D5
#E271D5 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.184 H 331.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E271D5 |
|---|---|
| RGB | rgb(226, 113, 213) |
| HSL | hsl(307, 66%, 66%) |
| HSV | hsv(307, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 5.8%, 11.4%) |
| CIE-LAB | lab(63.99, 56.90, -31.92) |
| CIE-LCH | lch(63.99, 65.25, 330.71°) |
| OKLab | oklab(71.29% 0.1622 -0.0869) |
| OKLCH | oklch(71.29% 0.184 331.8) |
| XYZ | xyz(49.2791, 32.7862, 66.6707) |
| Luminance | 0.3278 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.66
Purply Pink
#F075E6
ΔE00 3.13
Lavender Pink
#DD85D7
ΔE00 4.29
Orchid (survey)
#C875C4
ΔE00 4.70
Candy Pink
#FF63E9
ΔE00 4.78
Violet (CSS)
#EE82EE
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271D5 #71E27E
analogous
#B771E2 #E271D5 #E2719D
triadic
#E271D5 #D5E271 #71D5E2
tetradic
#E271D5 #E2B771 #71E27E #719DE2
square
#E271D5 #E2B771 #71E27E #719DE2
split-complementary
#E271D5 #9DE271 #71E2B7
monochromatic
#B425A3 #D83EC6 #E271D5 #ECA4E4 #F7D7F3
Accessibility & contrast
On white
2.78
#E271D5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#E271D5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271D5
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271D5 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D91D8
Deuteranopia (green-blind)
#8EA1D2
Tritanopia (blue-blind)
#EA7999
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e271d5; /* rgb */ color: rgb(226, 113, 213); /* oklch */ color: oklch(71.3% 0.184 331.8);
Tailwind
colors: {
custom: {
50: '#ed9ee2',
500: '#e271d5',
950: '#000000',
},
}SCSS
$custom: #e271d5; $custom-light: #ed9ee2; $custom-dark: #000000;
JSON
{
"hex": "#e271d5",
"rgb": {
"r": 226,
"g": 113,
"b": 213
},
"hsl": {
"h": 306.903,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71294,
"c": 0.18401,
"h": 331.8
},
"luminance": 0.32783
}Semantic roles & 50–950 ramp
primary
#E271D5
secondary
#C5EAC9
accent
#CE2D18
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83