#A17DFB#A17DFB
#A17DFB is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.181 H 294.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A17DFB |
|---|---|
| RGB | rgb(161, 125, 251) |
| HSL | hsl(257, 94%, 74%) |
| HSV | hsv(257, 50%, 98%) |
| CMYK | cmyk(35.9%, 50.2%, 0%, 1.6%) |
| CIE-LAB | lab(60.97, 41.19, -58.28) |
| CIE-LCH | lch(60.97, 71.37, 305.25°) |
| OKLab | oklab(68.04% 0.0743 -0.1648) |
| OKLCH | oklch(68.04% 0.181 294.3) |
| XYZ | xyz(39.4396, 29.2085, 94.8080) |
| Luminance | 0.2921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.26
Light Urple
#B36FF6
ΔE00 5.16
Lavender Blue
#8B88F8
ΔE00 5.91
Mediumpurple
#9370DB
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 6.25
Easter Purple
#C071FE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17DFB #D7FB7D
analogous
#7D98FB #A17DFB #E07DFB
triadic
#A17DFB #FBA17D #7DFBA1
tetradic
#A17DFB #FB7D98 #D7FB7D #7DFBE0
square
#A17DFB #FB7D98 #D7FB7D #7DFBE0
split-complementary
#A17DFB #FBE07D #98FB7D
monochromatic
#4C08F6 #7642F9 #A17DFB #CCB8FD #EAE1FE
Accessibility & contrast
On white
3.07
#A17DFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#A17DFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17DFB
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17DFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17DFB | 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)
#4C94FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#8B96B0
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a17dfb; /* rgb */ color: rgb(161, 125, 251); /* oklch */ color: oklch(68.0% 0.181 294.3);
Tailwind
colors: {
custom: {
50: '#c1a3fd',
500: '#a17dfb',
950: '#000000',
},
}SCSS
$custom: #a17dfb; $custom-light: #c1a3fd; $custom-dark: #000000;
JSON
{
"hex": "#a17dfb",
"rgb": {
"r": 161,
"g": 125,
"b": 251
},
"hsl": {
"h": 257.143,
"s": 94.03,
"l": 73.725
},
"oklch": {
"l": 0.68039,
"c": 0.18079,
"h": 294.3
},
"luminance": 0.29209
}Semantic roles & 50–950 ramp
primary
#A17DFB
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86