#E171E7#E171E7
#E171E7 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.199 H 325.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #E171E7 |
|---|---|
| RGB | rgb(225, 113, 231) |
| HSL | hsl(297, 71%, 67%) |
| HSV | hsv(297, 51%, 91%) |
| CMYK | cmyk(2.6%, 51.1%, 0%, 9.4%) |
| CIE-LAB | lab(64.64, 59.74, -40.96) |
| CIE-LCH | lch(64.64, 72.43, 325.56°) |
| OKLab | oklab(72% 0.1639 -0.1128) |
| OKLCH | oklch(72% 0.199 325.5) |
| XYZ | xyz(51.3791, 33.5900, 79.3630) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.74
Purply Pink
#F075E6
ΔE00 3.08
Light Magenta
#FA5FF7
ΔE00 4.19
Violet (CSS)
#EE82EE
ΔE00 4.30
Violet Pink
#FB5FFC
ΔE00 4.51
Candy Pink
#FF63E9
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E171E7 #77E771
analogous
#A671E7 #E171E7 #E771B2
triadic
#E171E7 #E7E171 #71E7E1
tetradic
#E171E7 #E7A671 #77E771 #71B2E7
square
#E171E7 #E7A671 #77E771 #71B2E7
split-complementary
#E171E7 #B2E771 #71E7A6
monochromatic
#B620BE #D63DDE #E171E7 #ECA5F0 #F7DAF9
Accessibility & contrast
On white
2.72
#E171E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#E171E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E171E7
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E171E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E171E7 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#E67FA2
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e171e7; /* rgb */ color: rgb(225, 113, 231); /* oklch */ color: oklch(72.0% 0.199 325.5);
Tailwind
colors: {
custom: {
50: '#ed9eef',
500: '#e171e7',
950: '#000000',
},
}SCSS
$custom: #e171e7; $custom-light: #ed9eef; $custom-dark: #000000;
JSON
{
"hex": "#e171e7",
"rgb": {
"r": 225,
"g": 113,
"b": 231
},
"hsl": {
"h": 296.949,
"s": 71.084,
"l": 67.451
},
"oklch": {
"l": 0.72001,
"c": 0.19899,
"h": 325.5
},
"luminance": 0.33587
}Semantic roles & 50–950 ramp
primary
#E171E7
secondary
#C9ECC7
accent
#D3121C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84