#E271D2#E271D2
#E271D2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.182 H 332.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E271D2 |
|---|---|
| RGB | rgb(226, 113, 210) |
| HSL | hsl(308, 66%, 66%) |
| HSV | hsv(308, 50%, 89%) |
| CMYK | cmyk(0%, 50%, 7.1%, 11.4%) |
| CIE-LAB | lab(63.86, 56.41, -30.43) |
| CIE-LCH | lch(63.86, 64.09, 331.65°) |
| OKLab | oklab(71.16% 0.1616 -0.0827) |
| OKLCH | oklch(71.16% 0.182 332.9) |
| XYZ | xyz(48.9019, 32.6353, 64.6838) |
| Luminance | 0.3263 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.03
Purply Pink
#F075E6
ΔE00 3.49
Lavender Pink
#DD85D7
ΔE00 4.28
Orchid (survey)
#C875C4
ΔE00 4.56
Candy Pink
#FF63E9
ΔE00 5.02
Violet (CSS)
#EE82EE
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271D2 #71E281
analogous
#BA71E2 #E271D2 #E2719A
triadic
#E271D2 #D2E271 #71D2E2
tetradic
#E271D2 #E2BA71 #71E281 #719AE2
square
#E271D2 #E2BA71 #71E281 #719AE2
split-complementary
#E271D2 #9AE271 #71E2BA
monochromatic
#B425A0 #D83EC2 #E271D2 #ECA4E2 #F7D7F2
Accessibility & contrast
On white
2.79
#E271D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#E271D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271D2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271D2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F90D5
Deuteranopia (green-blind)
#8FA1CF
Tritanopia (blue-blind)
#EB7898
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #e271d2; /* rgb */ color: rgb(226, 113, 210); /* oklch */ color: oklch(71.2% 0.182 332.9);
Tailwind
colors: {
custom: {
50: '#ed9ee0',
500: '#e271d2',
950: '#000000',
},
}SCSS
$custom: #e271d2; $custom-light: #ed9ee0; $custom-dark: #000000;
JSON
{
"hex": "#e271d2",
"rgb": {
"r": 226,
"g": 113,
"b": 210
},
"hsl": {
"h": 308.496,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.71163,
"c": 0.18155,
"h": 332.9
},
"luminance": 0.32632
}Semantic roles & 50–950 ramp
primary
#E271D2
secondary
#C5EACA
accent
#CE3118
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83