#E271F6#E271F6
#E271F6 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.9% C 0.213 H 321.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E271F6 |
|---|---|
| RGB | rgb(226, 113, 246) |
| HSL | hsl(291, 88%, 70%) |
| HSV | hsv(291, 54%, 96%) |
| CMYK | cmyk(8.1%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.46, 62.73, -47.95) |
| CIE-LCH | lch(65.46, 78.95, 322.61°) |
| OKLab | oklab(72.87% 0.1667 -0.133) |
| OKLCH | oklch(72.87% 0.213 321.4) |
| XYZ | xyz(53.9018, 34.6353, 91.0169) |
| Luminance | 0.3463 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.96
Light Magenta
#FA5FF7
ΔE00 4.02
Purply Pink
#F075E6
ΔE00 4.56
Violet (CSS)
#EE82EE
ΔE00 4.97
Orchid
#DA70D6
ΔE00 5.03
Candy Pink
#FF63E9
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E271F6 #85F671
analogous
#9F71F6 #E271F6 #F671C8
triadic
#E271F6 #F6E271 #71F6E2
tetradic
#E271F6 #F69F71 #85F671 #71C8F6
square
#E271F6 #F69F71 #85F671 #71C8F6
split-complementary
#E271F6 #C8F671 #71F69F
monochromatic
#BF0EDE #D637F2 #E271F6 #EEABFA #F9E2FD
Accessibility & contrast
On white
2.65
#E271F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#E271F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E271F6
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E271F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E271F6 | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#E484A9
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e271f6; /* rgb */ color: rgb(226, 113, 246); /* oklch */ color: oklch(72.9% 0.213 321.4);
Tailwind
colors: {
custom: {
50: '#ee9ef9',
500: '#e271f6',
950: '#000000',
},
}SCSS
$custom: #e271f6; $custom-light: #ee9ef9; $custom-dark: #000000;
JSON
{
"hex": "#e271f6",
"rgb": {
"r": 226,
"g": 113,
"b": 246
},
"hsl": {
"h": 290.977,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.72865,
"c": 0.21324,
"h": 321.4
},
"luminance": 0.34633
}Semantic roles & 50–950 ramp
primary
#E271F6
secondary
#D5F4CF
accent
#E50123
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85