#E17EF2#E17EF2
#E17EF2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.189 H 321.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E17EF2 |
|---|---|
| RGB | rgb(225, 126, 242) |
| HSL | hsl(291, 82%, 72%) |
| HSV | hsv(291, 48%, 95%) |
| CMYK | cmyk(7%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(67.53, 55.43, -42.50) |
| CIE-LCH | lch(67.53, 69.85, 322.52°) |
| OKLab | oklab(74.3% 0.148 -0.1173) |
| OKLCH | oklch(74.3% 0.189 321.6) |
| XYZ | xyz(54.5374, 37.3423, 88.3222) |
| Luminance | 0.3734 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.01
Purply Pink
#F075E6
ΔE00 3.93
Orchid
#DA70D6
ΔE00 5.08
Lavender Pink
#DD85D7
ΔE00 5.36
Light Magenta
#FA5FF7
ΔE00 5.58
Violet Pink
#FB5FFC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E17EF2 #8FF27E
analogous
#A77EF2 #E17EF2 #F27EC9
triadic
#E17EF2 #F2E17E #7EF2E1
tetradic
#E17EF2 #F2A77E #8FF27E #7EC9F2
square
#E17EF2 #F2A77E #8FF27E #7EC9F2
split-complementary
#E17EF2 #C9F27E #7EF2A7
monochromatic
#C216DF #D446EC #E17EF2 #EEB6F8 #F9E3FC
Accessibility & contrast
On white
2.48
#E17EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#E17EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E17EF2
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E17EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E17EF2 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#E38DAD
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #e17ef2; /* rgb */ color: rgb(225, 126, 242); /* oklch */ color: oklch(74.3% 0.189 321.6);
Tailwind
colors: {
custom: {
50: '#eca6f7',
500: '#e17ef2',
950: '#000000',
},
}SCSS
$custom: #e17ef2; $custom-light: #eca6f7; $custom-dark: #000000;
JSON
{
"hex": "#e17ef2",
"rgb": {
"r": 225,
"g": 126,
"b": 242
},
"hsl": {
"h": 291.207,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.74304,
"c": 0.18886,
"h": 321.6
},
"luminance": 0.3734
}Semantic roles & 50–950 ramp
primary
#E17EF2
secondary
#DBF4D7
accent
#DE0727
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85