#A17DFD#A17DFD
#A17DFD is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.183 H 293.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A17DFD |
|---|---|
| RGB | rgb(161, 125, 253) |
| HSL | hsl(257, 97%, 74%) |
| HSV | hsv(257, 51%, 99%) |
| CMYK | cmyk(36.4%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(61.08, 41.71, -59.21) |
| CIE-LCH | lch(61.08, 72.42, 305.16°) |
| OKLab | oklab(68.16% 0.0744 -0.1675) |
| OKLCH | oklch(68.16% 0.183 293.9) |
| XYZ | xyz(39.7566, 29.3353, 96.4771) |
| Luminance | 0.2934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 5.25
Lavender Blue
#8B88F8
ΔE00 5.88
Mediumpurple
#9370DB
ΔE00 6.22
Light Purple
#BF77F6
ΔE00 6.35
Easter Purple
#C071FE
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17DFD #D9FD7D
analogous
#7D99FD #A17DFD #E17DFD
triadic
#A17DFD #FDA17D #7DFDA1
tetradic
#A17DFD #FD7D99 #D9FD7D #7DFDE1
square
#A17DFD #FD7D99 #D9FD7D #7DFDE1
split-complementary
#A17DFD #FDE17D #99FD7D
monochromatic
#4A04FB #7541FC #A17DFD #CDB9FE #E9E1FF
Accessibility & contrast
On white
3.06
#A17DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#A17DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17DFD
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17DFD | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#8A97B1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17dfd; /* rgb */ color: rgb(161, 125, 253); /* oklch */ color: oklch(68.2% 0.183 293.9);
Tailwind
colors: {
custom: {
50: '#c1a3ff',
500: '#a17dfd',
950: '#000000',
},
}SCSS
$custom: #a17dfd; $custom-light: #c1a3ff; $custom-dark: #000000;
JSON
{
"hex": "#a17dfd",
"rgb": {
"r": 161,
"g": 125,
"b": 253
},
"hsl": {
"h": 256.875,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.68158,
"c": 0.18331,
"h": 293.9
},
"luminance": 0.29336
}Semantic roles & 50–950 ramp
primary
#A17DFD
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86