#E171F7#E171F7
#E171F7 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.8% C 0.214 H 320.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F7 |
|---|---|
| RGB | rgb(225, 113, 247) |
| HSL | hsl(290, 89%, 71%) |
| HSV | hsv(290, 54%, 97%) |
| CMYK | cmyk(8.9%, 54.3%, 0%, 3.1%) |
| CIE-LAB | lab(65.39, 62.66, -48.63) |
| CIE-LCH | lch(65.39, 79.31, 322.18°) |
| OKLab | oklab(72.8% 0.1656 -0.135) |
| OKLCH | oklch(72.8% 0.214 320.8) |
| XYZ | xyz(53.7430, 34.5356, 91.8128) |
| Luminance | 0.3453 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.12
Light Magenta
#FA5FF7
ΔE00 4.20
Purply Pink
#F075E6
ΔE00 4.84
Violet (CSS)
#EE82EE
ΔE00 5.19
Orchid
#DA70D6
ΔE00 5.21
Candy Pink
#FF63E9
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F7 #87F771
analogous
#9E71F7 #E171F7 #F771CA
triadic
#E171F7 #F7E171 #71F7E1
tetradic
#E171F7 #F79E71 #87F771 #71CAF7
square
#E171F7 #F79E71 #87F771 #71CAF7
split-complementary
#E171F7 #CAF771 #71F79E
monochromatic
#BE0DE1 #D537F4 #E171F7 #EDABFA #F9E2FD
Accessibility & contrast
On white
2.66
#E171F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#E171F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F7
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F7 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#E384AA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171f7; /* rgb */ color: rgb(225, 113, 247); /* oklch */ color: oklch(72.8% 0.214 320.8);
Tailwind
colors: {
custom: {
50: '#ed9efa',
500: '#e171f7',
950: '#000000',
},
}SCSS
$custom: #e171f7; $custom-light: #ed9efa; $custom-dark: #000000;
JSON
{
"hex": "#e171f7",
"rgb": {
"r": 225,
"g": 113,
"b": 247
},
"hsl": {
"h": 290.149,
"s": 89.333,
"l": 70.588
},
"oklch": {
"l": 0.72796,
"c": 0.21367,
"h": 320.8
},
"luminance": 0.34533
}Semantic roles & 50–950 ramp
primary
#E171F7
secondary
#D6F4D0
accent
#E60026
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85