#A166DF#A166DF
#A166DF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.181 H 304.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A166DF |
|---|---|
| RGB | rgb(161, 102, 223) |
| HSL | hsl(269, 65%, 64%) |
| HSV | hsv(269, 54%, 87%) |
| CMYK | cmyk(27.8%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(54.46, 46.89, -53.08) |
| CIE-LCH | lch(54.46, 70.83, 311.46°) |
| OKLab | oklab(62.71% 0.1016 -0.1496) |
| OKLCH | oklch(62.71% 0.181 304.2) |
| XYZ | xyz(32.7657, 22.4076, 72.3967) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.84
Mediumpurple
#9370DB
ΔE00 3.91
Lightish Purple
#A552E6
ΔE00 4.58
Light Urple
#B36FF6
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 5.52
Mediumorchid
#BA55D3
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166DF #A4DF66
analogous
#6667DF #A166DF #DD66DF
triadic
#A166DF #DFA166 #66DFA1
tetradic
#A166DF #DF6667 #A4DF66 #66DFDD
square
#A166DF #DF6667 #A4DF66 #66DFDD
split-complementary
#A166DF #DFDD66 #67DF66
monochromatic
#6423A8 #8233D4 #A166DF #C099EA #DFCBF4
Accessibility & contrast
On white
3.83
#A166DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#A166DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166DF
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166DF | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#967D99
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a166df; /* rgb */ color: rgb(161, 102, 223); /* oklch */ color: oklch(62.7% 0.181 304.2);
Tailwind
colors: {
custom: {
50: '#c094e9',
500: '#a166df',
950: '#000000',
},
}SCSS
$custom: #a166df; $custom-light: #c094e9; $custom-dark: #000000;
JSON
{
"hex": "#a166df",
"rgb": {
"r": 161,
"g": 102,
"b": 223
},
"hsl": {
"h": 269.256,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.62709,
"c": 0.18082,
"h": 304.2
},
"luminance": 0.22408
}Semantic roles & 50–950 ramp
primary
#A166DF
secondary
#D1E6BB
accent
#CD1875
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84