#E171F2#E171F2
#E171F2 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.209 H 322.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F2 |
|---|---|
| RGB | rgb(225, 113, 242) |
| HSL | hsl(292, 83%, 70%) |
| HSV | hsv(292, 53%, 95%) |
| CMYK | cmyk(7%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.15, 61.73, -46.25) |
| CIE-LCH | lch(65.15, 77.14, 323.16°) |
| OKLab | oklab(72.54% 0.1652 -0.1281) |
| OKLCH | oklch(72.54% 0.209 322.2) |
| XYZ | xyz(52.9818, 34.2311, 87.8037) |
| Luminance | 0.3423 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 4.03
Violet Pink
#FB5FFC
ΔE00 4.07
Purply Pink
#F075E6
ΔE00 4.22
Orchid
#DA70D6
ΔE00 4.44
Violet (CSS)
#EE82EE
ΔE00 4.80
Candy Pink
#FF63E9
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F2 #82F271
analogous
#A171F2 #E171F2 #F271C3
triadic
#E171F2 #F2E171 #71F2E1
tetradic
#E171F2 #F2A171 #82F271 #71C3F2
square
#E171F2 #F2A171 #82F271 #71C3F2
split-complementary
#E171F2 #C3F271 #71F2A1
monochromatic
#BC14D5 #D539ED #E171F2 #EDA9F7 #F9E1FC
Accessibility & contrast
On white
2.68
#E171F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#E171F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F2 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#80A3EE
Tritanopia (blue-blind)
#E483A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e171f2; /* rgb */ color: rgb(225, 113, 242); /* oklch */ color: oklch(72.5% 0.209 322.2);
Tailwind
colors: {
custom: {
50: '#ed9ef7',
500: '#e171f2',
950: '#000000',
},
}SCSS
$custom: #e171f2; $custom-light: #ed9ef7; $custom-dark: #000000;
JSON
{
"hex": "#e171f2",
"rgb": {
"r": 225,
"g": 113,
"b": 242
},
"hsl": {
"h": 292.093,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.72542,
"c": 0.20903,
"h": 322.2
},
"luminance": 0.34229
}Semantic roles & 50–950 ramp
primary
#E171F2
secondary
#D2F2CD
accent
#E00623
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85