#E171F1#E171F1
#E171F1 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.208 H 322.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #E171F1 |
|---|---|
| RGB | rgb(225, 113, 241) |
| HSL | hsl(293, 82%, 69%) |
| HSV | hsv(293, 53%, 95%) |
| CMYK | cmyk(6.6%, 53.1%, 0%, 5.5%) |
| CIE-LAB | lab(65.10, 61.55, -45.77) |
| CIE-LCH | lch(65.10, 76.70, 323.36°) |
| OKLab | oklab(72.49% 0.1651 -0.1267) |
| OKLCH | oklch(72.49% 0.208 322.5) |
| XYZ | xyz(52.8320, 34.1712, 87.0149) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 4.01
Violet Pink
#FB5FFC
ΔE00 4.08
Purply Pink
#F075E6
ΔE00 4.10
Orchid
#DA70D6
ΔE00 4.29
Violet (CSS)
#EE82EE
ΔE00 4.73
Candy Pink
#FF63E9
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171F1 #81F171
analogous
#A171F1 #E171F1 #F171C1
triadic
#E171F1 #F1E171 #71F1E1
tetradic
#E171F1 #F1A171 #81F171 #71C1F1
square
#E171F1 #F1A171 #81F171 #71C1F1
split-complementary
#E171F1 #C1F171 #71F1A1
monochromatic
#BB15D3 #D539EC #E171F1 #EDA9F6 #F9E0FC
Accessibility & contrast
On white
2.68
#E171F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#E171F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171F1
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171F1 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F5
Deuteranopia (green-blind)
#81A2ED
Tritanopia (blue-blind)
#E482A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e171f1; /* rgb */ color: rgb(225, 113, 241); /* oklch */ color: oklch(72.5% 0.208 322.5);
Tailwind
colors: {
custom: {
50: '#ed9ef6',
500: '#e171f1',
950: '#000000',
},
}SCSS
$custom: #e171f1; $custom-light: #ed9ef6; $custom-dark: #000000;
JSON
{
"hex": "#e171f1",
"rgb": {
"r": 225,
"g": 113,
"b": 241
},
"hsl": {
"h": 292.5,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.72492,
"c": 0.20809,
"h": 322.5
},
"luminance": 0.34169
}Semantic roles & 50–950 ramp
primary
#E171F1
secondary
#D1F1CC
accent
#DE0722
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85