#A17EF6#A17EF6
#A17EF6 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.173 H 294.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A17EF6 |
|---|---|
| RGB | rgb(161, 126, 246) |
| HSL | hsl(258, 87%, 73%) |
| HSV | hsv(258, 49%, 96%) |
| CMYK | cmyk(34.6%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(60.92, 39.34, -55.61) |
| CIE-LCH | lch(60.92, 68.12, 305.28°) |
| OKLab | oklab(67.91% 0.0726 -0.157) |
| OKLCH | oklch(67.91% 0.173 294.8) |
| XYZ | xyz(38.7891, 29.1519, 90.7541) |
| Luminance | 0.2915 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.45
Light Urple
#B36FF6
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 5.69
Lavender Blue
#8B88F8
ΔE00 5.90
Light Purple
#BF77F6
ΔE00 6.15
Easter Purple
#C071FE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17EF6 #D3F67E
analogous
#7E97F6 #A17EF6 #DD7EF6
triadic
#A17EF6 #F6A17E #7EF6A1
tetradic
#A17EF6 #F67E97 #D3F67E #7EF6DD
square
#A17EF6 #F67E97 #D3F67E #7EF6DD
split-complementary
#A17EF6 #F6DD7E #97F67E
monochromatic
#5010E9 #7745F2 #A17EF6 #CBB7FA #EAE2FD
Accessibility & contrast
On white
3.07
#A17EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#A17EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17EF6
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17EF6 | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#8D95AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17ef6; /* rgb */ color: rgb(161, 126, 246); /* oklch */ color: oklch(67.9% 0.173 294.8);
Tailwind
colors: {
custom: {
50: '#c0a4fa',
500: '#a17ef6',
950: '#000000',
},
}SCSS
$custom: #a17ef6; $custom-light: #c0a4fa; $custom-dark: #000000;
JSON
{
"hex": "#a17ef6",
"rgb": {
"r": 161,
"g": 126,
"b": 246
},
"hsl": {
"h": 257.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.67914,
"c": 0.17296,
"h": 294.8
},
"luminance": 0.29153
}Semantic roles & 50–950 ramp
primary
#A17EF6
secondary
#ECF5D6
accent
#E402A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85