#A17AFD#A17AFD
#A17AFD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.188 H 294.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A17AFD |
|---|---|
| RGB | rgb(161, 122, 253) |
| HSL | hsl(258, 97%, 74%) |
| HSV | hsv(258, 52%, 99%) |
| CMYK | cmyk(36.4%, 51.8%, 0%, 0.8%) |
| CIE-LAB | lab(60.42, 43.38, -60.26) |
| CIE-LCH | lch(60.42, 74.25, 305.75°) |
| OKLab | oklab(67.67% 0.0781 -0.1706) |
| OKLCH | oklch(67.67% 0.188 294.6) |
| XYZ | xyz(39.3825, 28.5872, 96.3524) |
| Luminance | 0.2859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.83
Easter Purple
#C071FE
ΔE00 6.07
Light Purple
#BF77F6
ΔE00 6.15
Lavender Blue
#8B88F8
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17AFD #D6FD7A
analogous
#7A94FD #A17AFD #E37AFD
triadic
#A17AFD #FDA17A #7AFDA1
tetradic
#A17AFD #FD7A94 #D6FD7A #7AFDE3
square
#A17AFD #FD7A94 #D6FD7A #7AFDE3
split-complementary
#A17AFD #FDE37A #94FD7A
monochromatic
#4D04F9 #763EFC #A17AFD #CCB6FE #EAE1FF
Accessibility & contrast
On white
3.13
#A17AFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#A17AFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17AFD
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17AFD | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8B94B0
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a17afd; /* rgb */ color: rgb(161, 122, 253); /* oklch */ color: oklch(67.7% 0.188 294.6);
Tailwind
colors: {
custom: {
50: '#c1a1ff',
500: '#a17afd',
950: '#000000',
},
}SCSS
$custom: #a17afd; $custom-light: #c1a1ff; $custom-dark: #000000;
JSON
{
"hex": "#a17afd",
"rgb": {
"r": 161,
"g": 122,
"b": 253
},
"hsl": {
"h": 257.863,
"s": 97.037,
"l": 73.529
},
"oklch": {
"l": 0.67667,
"c": 0.18766,
"h": 294.6
},
"luminance": 0.28588
}Semantic roles & 50–950 ramp
primary
#A17AFD
secondary
#EDF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86