#E170F0#E170F0
#E170F0 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.3% C 0.209 H 322.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E170F0 |
|---|---|
| RGB | rgb(225, 112, 240) |
| HSL | hsl(293, 81%, 69%) |
| HSV | hsv(293, 53%, 94%) |
| CMYK | cmyk(6.3%, 53.3%, 0%, 5.9%) |
| CIE-LAB | lab(64.87, 61.83, -45.57) |
| CIE-LCH | lch(64.87, 76.81, 323.61°) |
| OKLab | oklab(72.31% 0.1663 -0.1261) |
| OKLCH | oklch(72.31% 0.209 322.8) |
| XYZ | xyz(52.5721, 33.8897, 86.1934) |
| Luminance | 0.3389 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.93
Violet Pink
#FB5FFC
ΔE00 4.03
Purply Pink
#F075E6
ΔE00 4.07
Orchid
#DA70D6
ΔE00 4.14
Violet (CSS)
#EE82EE
ΔE00 4.83
Candy Pink
#FF63E9
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E170F0 #7FF070
analogous
#A170F0 #E170F0 #F070BF
triadic
#E170F0 #F0E170 #70F0E1
tetradic
#E170F0 #F0A170 #7FF070 #70BFF0
square
#E170F0 #F0A170 #7FF070 #70BFF0
split-complementary
#E170F0 #BFF070 #70F0A1
monochromatic
#BA16D0 #D539EA #E170F0 #EDA7F6 #F8DFFC
Accessibility & contrast
On white
2.70
#E170F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#E170F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E170F0
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E170F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E170F0 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#E481A6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #e170f0; /* rgb */ color: rgb(225, 112, 240); /* oklch */ color: oklch(72.3% 0.209 322.8);
Tailwind
colors: {
custom: {
50: '#ed9ef5',
500: '#e170f0',
950: '#000000',
},
}SCSS
$custom: #e170f0; $custom-light: #ed9ef5; $custom-dark: #000000;
JSON
{
"hex": "#e170f0",
"rgb": {
"r": 225,
"g": 112,
"b": 240
},
"hsl": {
"h": 292.969,
"s": 81.013,
"l": 69.02
},
"oklch": {
"l": 0.72313,
"c": 0.20868,
"h": 322.8
},
"luminance": 0.33887
}Semantic roles & 50–950 ramp
primary
#E170F0
secondary
#D0F1CB
accent
#DD0821
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85