#E271F3#E271F3
#E271F3 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.7% C 0.210 H 322.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E271F3 |
|---|---|
| RGB | rgb(226, 113, 243) |
| HSL | hsl(292, 84%, 70%) |
| HSV | hsv(292, 53%, 95%) |
| CMYK | cmyk(7%, 53.5%, 0%, 4.7%) |
| CIE-LAB | lab(65.32, 62.17, -46.52) |
| CIE-LCH | lch(65.32, 77.65, 323.20°) |
| OKLab | oklab(72.71% 0.1664 -0.1288) |
| OKLCH | oklch(72.71% 0.21 322.3) |
| XYZ | xyz(53.4451, 34.4526, 88.6115) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.92
Violet Pink
#FB5FFC
ΔE00 3.94
Purply Pink
#F075E6
ΔE00 4.19
Orchid
#DA70D6
ΔE00 4.57
Violet (CSS)
#EE82EE
ΔE00 4.74
Candy Pink
#FF63E9
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271F3 #82F371
analogous
#A171F3 #E271F3 #F371C3
triadic
#E271F3 #F3E271 #71F3E2
tetradic
#E271F3 #F3A171 #82F371 #71C3F3
square
#E271F3 #F3A171 #82F371 #71C3F3
split-complementary
#E271F3 #C3F371 #71F3A1
monochromatic
#BE12D7 #D639EE #E271F3 #EEA9F8 #F9E2FD
Accessibility & contrast
On white
2.66
#E271F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#E271F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271F3
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271F3 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F7
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#E583A8
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e271f3; /* rgb */ color: rgb(226, 113, 243); /* oklch */ color: oklch(72.7% 0.210 322.3);
Tailwind
colors: {
custom: {
50: '#ee9ef7',
500: '#e271f3',
950: '#000000',
},
}SCSS
$custom: #e271f3; $custom-light: #ee9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e271f3",
"rgb": {
"r": 226,
"g": 113,
"b": 243
},
"hsl": {
"h": 292.154,
"s": 84.416,
"l": 69.804
},
"oklch": {
"l": 0.72713,
"c": 0.21045,
"h": 322.3
},
"luminance": 0.3445
}Semantic roles & 50–950 ramp
primary
#E271F3
secondary
#D2F2CE
accent
#E10521
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85