#E171F6#E171F6
#E171F6 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.213 H 321.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F6 |
|---|---|
| RGB | rgb(225, 113, 246) |
| HSL | hsl(291, 88%, 70%) |
| HSV | hsv(291, 54%, 96%) |
| CMYK | cmyk(8.5%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.34, 62.47, -48.15) |
| CIE-LCH | lch(65.34, 78.88, 322.37°) |
| OKLab | oklab(72.75% 0.1656 -0.1336) |
| OKLCH | oklch(72.75% 0.213 321.1) |
| XYZ | xyz(53.5891, 34.4740, 91.0023) |
| Luminance | 0.3447 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.10
Light Magenta
#FA5FF7
ΔE00 4.16
Purply Pink
#F075E6
ΔE00 4.71
Orchid
#DA70D6
ΔE00 5.06
Violet (CSS)
#EE82EE
ΔE00 5.10
Candy Pink
#FF63E9
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F6 #86F671
analogous
#9E71F6 #E171F6 #F671C9
triadic
#E171F6 #F6E171 #71F6E1
tetradic
#E171F6 #F69E71 #86F671 #71C9F6
square
#E171F6 #F69E71 #86F671 #71C9F6
split-complementary
#E171F6 #C9F671 #71F69E
monochromatic
#BE0EDE #D537F2 #E171F6 #EDABFA #F9E2FD
Accessibility & contrast
On white
2.66
#E171F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#E171F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F6
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F6 | 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)
#5997FA
Deuteranopia (green-blind)
#7EA3F2
Tritanopia (blue-blind)
#E384A9
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171f6; /* rgb */ color: rgb(225, 113, 246); /* oklch */ color: oklch(72.7% 0.213 321.1);
Tailwind
colors: {
custom: {
50: '#ed9ef9',
500: '#e171f6',
950: '#000000',
},
}SCSS
$custom: #e171f6; $custom-light: #ed9ef9; $custom-dark: #000000;
JSON
{
"hex": "#e171f6",
"rgb": {
"r": 225,
"g": 113,
"b": 246
},
"hsl": {
"h": 290.526,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.72745,
"c": 0.21273,
"h": 321.1
},
"luminance": 0.34472
}Semantic roles & 50–950 ramp
primary
#E171F6
secondary
#D5F4CF
accent
#E50125
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85