#E171F8#E171F8
#E171F8 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.215 H 320.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F8 |
|---|---|
| RGB | rgb(225, 113, 248) |
| HSL | hsl(290, 91%, 71%) |
| HSV | hsv(290, 54%, 97%) |
| CMYK | cmyk(9.3%, 54.4%, 0%, 2.7%) |
| CIE-LAB | lab(65.43, 62.85, -49.10) |
| CIE-LCH | lch(65.43, 79.75, 322.00°) |
| OKLab | oklab(72.85% 0.1657 -0.1363) |
| OKLCH | oklch(72.85% 0.215 320.6) |
| XYZ | xyz(53.8977, 34.5975, 92.6277) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.14
Light Magenta
#FA5FF7
ΔE00 4.25
Purply Pink
#F075E6
ΔE00 4.96
Violet (CSS)
#EE82EE
ΔE00 5.28
Orchid
#DA70D6
ΔE00 5.36
Light Purple
#BF77F6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F8 #88F871
analogous
#9D71F8 #E171F8 #F871CB
triadic
#E171F8 #F8E171 #71F8E1
tetradic
#E171F8 #F89D71 #88F871 #71CBF8
square
#E171F8 #F89D71 #88F871 #71CBF8
split-complementary
#E171F8 #CBF871 #71F89D
monochromatic
#BF0BE3 #D537F5 #E171F8 #EDABFB #F9E2FE
Accessibility & contrast
On white
2.65
#E171F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#E171F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F8
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F8 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#E385AA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171f8; /* rgb */ color: rgb(225, 113, 248); /* oklch */ color: oklch(72.8% 0.215 320.6);
Tailwind
colors: {
custom: {
50: '#ed9efb',
500: '#e171f8',
950: '#000000',
},
}SCSS
$custom: #e171f8; $custom-light: #ed9efb; $custom-dark: #000000;
JSON
{
"hex": "#e171f8",
"rgb": {
"r": 225,
"g": 113,
"b": 248
},
"hsl": {
"h": 289.778,
"s": 90.604,
"l": 70.784
},
"oklch": {
"l": 0.72848,
"c": 0.21461,
"h": 320.6
},
"luminance": 0.34595
}Semantic roles & 50–950 ramp
primary
#E171F8
secondary
#D6F5D0
accent
#E60027
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85