#A17EF7#A17EF7
#A17EF7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.174 H 294.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EF7 |
|---|---|
| RGB | rgb(161, 126, 247) |
| HSL | hsl(257, 88%, 73%) |
| HSV | hsv(257, 49%, 97%) |
| CMYK | cmyk(34.8%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(60.97, 39.60, -56.07) |
| CIE-LCH | lch(60.97, 68.65, 305.23°) |
| OKLab | oklab(67.97% 0.0727 -0.1583) |
| OKLCH | oklch(67.97% 0.174 294.7) |
| XYZ | xyz(38.9430, 29.2135, 91.5647) |
| Luminance | 0.2921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.38
Light Urple
#B36FF6
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.78
Lavender Blue
#8B88F8
ΔE00 5.86
Light Purple
#BF77F6
ΔE00 6.18
Easter Purple
#C071FE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EF7 #D4F77E
analogous
#7E97F7 #A17EF7 #DD7EF7
triadic
#A17EF7 #F7A17E #7EF7A1
tetradic
#A17EF7 #F77E97 #D4F77E #7EF7DD
square
#A17EF7 #F77E97 #D4F77E #7EF7DD
split-complementary
#A17EF7 #F7DD7E #97F77E
monochromatic
#4F0FEC #7744F3 #A17EF7 #CBB8FB #EAE2FD
Accessibility & contrast
On white
3.07
#A17EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#A17EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EF7
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EF7 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#8D96AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17ef7; /* rgb */ color: rgb(161, 126, 247); /* oklch */ color: oklch(68.0% 0.174 294.7);
Tailwind
colors: {
custom: {
50: '#c0a4fa',
500: '#a17ef7',
950: '#000000',
},
}SCSS
$custom: #a17ef7; $custom-light: #c0a4fa; $custom-dark: #000000;
JSON
{
"hex": "#a17ef7",
"rgb": {
"r": 161,
"g": 126,
"b": 247
},
"hsl": {
"h": 257.355,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.67972,
"c": 0.17424,
"h": 294.7
},
"luminance": 0.29214
}Semantic roles & 50–950 ramp
primary
#A17EF7
secondary
#ECF5D6
accent
#E501A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85