#A166B4#A166B4
#A166B4 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.4% C 0.131 H 317.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A166B4 |
|---|---|
| RGB | rgb(161, 102, 180) |
| HSL | hsl(285, 34%, 55%) |
| HSV | hsv(285, 43%, 71%) |
| CMYK | cmyk(10.6%, 43.3%, 0%, 29.4%) |
| CIE-LAB | lab(52.26, 37.22, -32.00) |
| CIE-LCH | lch(52.26, 49.08, 319.32°) |
| OKLab | oklab(60.36% 0.0967 -0.0883) |
| OKLCH | oklch(60.36% 0.131 317.6) |
| XYZ | xyz(27.6864, 20.3759, 45.6457) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.99
Amethyst
#9B5FC0
ΔE00 4.05
Deep Lilac
#966EBD
ΔE00 4.25
Dark Lilac
#9C6DA5
ΔE00 4.46
Deep Lavender
#8D5EB7
ΔE00 5.67
Wisteria
#A87DC2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166B4 #79B466
analogous
#7A66B4 #A166B4 #B466A0
triadic
#A166B4 #B4A166 #66B4A1
tetradic
#A166B4 #B47A66 #79B466 #66A0B4
square
#A166B4 #B47A66 #79B466 #66A0B4
split-complementary
#A166B4 #A0B466 #66B47A
monochromatic
#5E346B #824994 #A166B4 #BA8FC8 #D3B8DC
Accessibility & contrast
On white
4.14
#A166B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A166B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166B4
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166B4 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5979B7
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#A17084
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a166b4; /* rgb */ color: rgb(161, 102, 180); /* oklch */ color: oklch(60.4% 0.131 317.6);
Tailwind
colors: {
custom: {
50: '#be93ca',
500: '#a166b4',
950: '#000000',
},
}SCSS
$custom: #a166b4; $custom-light: #be93ca; $custom-dark: #000000;
JSON
{
"hex": "#a166b4",
"rgb": {
"r": 161,
"g": 102,
"b": 180
},
"hsl": {
"h": 285.385,
"s": 34.211,
"l": 55.294
},
"oklch": {
"l": 0.60362,
"c": 0.13093,
"h": 317.6
},
"luminance": 0.20375
}Semantic roles & 50–950 ramp
primary
#A166B4
secondary
#B3CBAB
accent
#CA5E78
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82