#E17AFC#E17AFC
#E17AFC is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.2% C 0.205 H 319.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E17AFC |
|---|---|
| RGB | rgb(225, 122, 252) |
| HSL | hsl(288, 96%, 73%) |
| HSV | hsv(288, 52%, 99%) |
| CMYK | cmyk(10.7%, 51.6%, 0%, 1.2%) |
| CIE-LAB | lab(67.24, 59.30, -48.44) |
| CIE-LCH | lch(67.24, 76.57, 320.76°) |
| OKLab | oklab(74.24% 0.1545 -0.1345) |
| OKLCH | oklch(74.24% 0.205 319) |
| XYZ | xyz(55.5793, 36.9570, 96.2823) |
| Luminance | 0.3695 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.57
Violet Pink
#FB5FFC
ΔE00 5.15
Purply Pink
#F075E6
ΔE00 5.19
Light Magenta
#FA5FF7
ΔE00 5.33
Light Purple
#BF77F6
ΔE00 6.01
Orchid
#DA70D6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E17AFC #95FC7A
analogous
#A07AFC #E17AFC #FC7AD6
triadic
#E17AFC #FCE17A #7AFCE1
tetradic
#E17AFC #FCA07A #95FC7A #7AD6FC
square
#E17AFC #FCA07A #95FC7A #7AD6FC
split-complementary
#E17AFC #D6FC7A #7AFCA0
monochromatic
#C406F6 #D33EFB #E17AFC #EEB6FD #F8E1FE
Accessibility & contrast
On white
2.50
#E17AFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#E17AFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E17AFC
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E17AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E17AFC | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#E18DB0
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #e17afc; /* rgb */ color: rgb(225, 122, 252); /* oklch */ color: oklch(74.2% 0.205 319.0);
Tailwind
colors: {
custom: {
50: '#eda4fe',
500: '#e17afc',
950: '#000000',
},
}SCSS
$custom: #e17afc; $custom-light: #eda4fe; $custom-dark: #000000;
JSON
{
"hex": "#e17afc",
"rgb": {
"r": 225,
"g": 122,
"b": 252
},
"hsl": {
"h": 287.538,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.74242,
"c": 0.20486,
"h": 319
},
"luminance": 0.36955
}Semantic roles & 50–950 ramp
primary
#E17AFC
secondary
#DCF7D4
accent
#E60030
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86