#E171F9#E171F9
#E171F9 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.216 H 320.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F9 |
|---|---|
| RGB | rgb(225, 113, 249) |
| HSL | hsl(289, 92%, 71%) |
| HSV | hsv(289, 55%, 98%) |
| CMYK | cmyk(9.6%, 54.6%, 0%, 2.4%) |
| CIE-LAB | lab(65.48, 63.03, -49.58) |
| CIE-LCH | lch(65.48, 80.19, 321.81°) |
| OKLab | oklab(72.9% 0.1658 -0.1377) |
| OKLCH | oklch(72.9% 0.216 320.3) |
| XYZ | xyz(54.0533, 34.6597, 93.4469) |
| Luminance | 0.3466 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.18
Light Magenta
#FA5FF7
ΔE00 4.31
Purply Pink
#F075E6
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.36
Orchid
#DA70D6
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F9 #89F971
analogous
#9D71F9 #E171F9 #F971CD
triadic
#E171F9 #F9E171 #71F9E1
tetradic
#E171F9 #F99D71 #89F971 #71CDF9
square
#E171F9 #F99D71 #89F971 #71CDF9
split-complementary
#E171F9 #CDF971 #71F99D
monochromatic
#BF0AE6 #D536F7 #E171F9 #EDACFB #F9E2FE
Accessibility & contrast
On white
2.65
#E171F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#E171F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F9
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F9 | 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)
#5797FD
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#E285AB
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171f9; /* rgb */ color: rgb(225, 113, 249); /* oklch */ color: oklch(72.9% 0.216 320.3);
Tailwind
colors: {
custom: {
50: '#ed9efc',
500: '#e171f9',
950: '#000000',
},
}SCSS
$custom: #e171f9; $custom-light: #ed9efc; $custom-dark: #000000;
JSON
{
"hex": "#e171f9",
"rgb": {
"r": 225,
"g": 113,
"b": 249
},
"hsl": {
"h": 289.412,
"s": 91.892,
"l": 70.98
},
"oklch": {
"l": 0.729,
"c": 0.21555,
"h": 320.3
},
"luminance": 0.34657
}Semantic roles & 50–950 ramp
primary
#E171F9
secondary
#D7F5D1
accent
#E60028
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85