#E171FC#E171FC
#E171FC is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.1% C 0.218 H 319.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E171FC |
|---|---|
| RGB | rgb(225, 113, 252) |
| HSL | hsl(288, 96%, 72%) |
| HSV | hsv(288, 55%, 99%) |
| CMYK | cmyk(10.7%, 55.2%, 0%, 1.2%) |
| CIE-LAB | lab(65.63, 63.60, -50.99) |
| CIE-LCH | lch(65.63, 81.52, 321.28°) |
| OKLab | oklab(73.06% 0.166 -0.1418) |
| OKLCH | oklch(73.06% 0.218 319.5) |
| XYZ | xyz(54.5249, 34.8483, 95.9309) |
| Luminance | 0.3485 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 4.30
Light Magenta
#FA5FF7
ΔE00 4.50
Purply Pink
#F075E6
ΔE00 5.47
Violet (CSS)
#EE82EE
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.76
Orchid
#DA70D6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171FC #8CFC71
analogous
#9C71FC #E171FC #FC71D2
triadic
#E171FC #FCE171 #71FCE1
tetradic
#E171FC #FC9C71 #8CFC71 #71D2FC
square
#E171FC #FC9C71 #8CFC71 #71D2FC
split-complementary
#E171FC #D2FC71 #71FC9C
monochromatic
#C005EE #D435FB #E171FC #EEADFD #F9E1FE
Accessibility & contrast
On white
2.64
#E171FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#E171FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171FC
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171FC | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#E286AC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e171fc; /* rgb */ color: rgb(225, 113, 252); /* oklch */ color: oklch(73.1% 0.218 319.5);
Tailwind
colors: {
custom: {
50: '#ed9efe',
500: '#e171fc',
950: '#000000',
},
}SCSS
$custom: #e171fc; $custom-light: #ed9efe; $custom-dark: #000000;
JSON
{
"hex": "#e171fc",
"rgb": {
"r": 225,
"g": 113,
"b": 252
},
"hsl": {
"h": 288.345,
"s": 95.862,
"l": 71.569
},
"oklch": {
"l": 0.73056,
"c": 0.21837,
"h": 319.5
},
"luminance": 0.34846
}Semantic roles & 50–950 ramp
primary
#E171FC
secondary
#D9F6D3
accent
#E6002D
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86