#E171FB#E171FB
#E171FB is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.217 H 319.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E171FB |
|---|---|
| RGB | rgb(225, 113, 251) |
| HSL | hsl(289, 95%, 71%) |
| HSV | hsv(289, 55%, 98%) |
| CMYK | cmyk(10.4%, 55%, 0%, 1.6%) |
| CIE-LAB | lab(65.58, 63.41, -50.52) |
| CIE-LCH | lch(65.58, 81.07, 321.45°) |
| OKLab | oklab(73% 0.166 -0.1405) |
| OKLCH | oklch(73% 0.217 319.8) |
| XYZ | xyz(54.3669, 34.7851, 95.0985) |
| Luminance | 0.3478 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.25
Light Magenta
#FA5FF7
ΔE00 4.43
Purply Pink
#F075E6
ΔE00 5.35
Violet (CSS)
#EE82EE
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.81
Orchid
#DA70D6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171FB #8BFB71
analogous
#9C71FB #E171FB #FB71D0
triadic
#E171FB #FBE171 #71FBE1
tetradic
#E171FB #FB9C71 #8BFB71 #71D0FB
square
#E171FB #FB9C71 #8BFB71 #71D0FB
split-complementary
#E171FB #D0FB71 #71FB9C
monochromatic
#C007EB #D435F9 #E171FB #EEADFD #F9E1FE
Accessibility & contrast
On white
2.64
#E171FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#E171FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171FB
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171FB | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#E286AC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171fb; /* rgb */ color: rgb(225, 113, 251); /* oklch */ color: oklch(73.0% 0.217 319.8);
Tailwind
colors: {
custom: {
50: '#ed9efd',
500: '#e171fb',
950: '#000000',
},
}SCSS
$custom: #e171fb; $custom-light: #ed9efd; $custom-dark: #000000;
JSON
{
"hex": "#e171fb",
"rgb": {
"r": 225,
"g": 113,
"b": 251
},
"hsl": {
"h": 288.696,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.73003,
"c": 0.21742,
"h": 319.8
},
"luminance": 0.34783
}Semantic roles & 50–950 ramp
primary
#E171FB
secondary
#D9F6D2
accent
#E6002B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86