#A166B1#A166B1
#A166B1 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.2% C 0.128 H 318.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A166B1 |
|---|---|
| RGB | rgb(161, 102, 177) |
| HSL | hsl(287, 32%, 55%) |
| HSV | hsv(287, 42%, 69%) |
| CMYK | cmyk(9%, 42.4%, 0%, 30.6%) |
| CIE-LAB | lab(52.12, 36.60, -30.47) |
| CIE-LCH | lch(52.12, 47.62, 320.22°) |
| OKLab | oklab(60.22% 0.0961 -0.0839) |
| OKLCH | oklch(60.22% 0.128 318.9) |
| XYZ | xyz(27.3841, 20.2550, 44.0535) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.88
Dark Lilac
#9C6DA5
ΔE00 3.94
Amethyst
#9B5FC0
ΔE00 4.61
Deep Lilac
#966EBD
ΔE00 4.67
Deep Lavender
#8D5EB7
ΔE00 6.02
Wisteria
#A87DC2
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166B1 #76B166
analogous
#7C66B1 #A166B1 #B1669C
triadic
#A166B1 #B1A166 #66B1A1
tetradic
#A166B1 #B17C66 #76B166 #669CB1
square
#A166B1 #B17C66 #76B166 #669CB1
split-complementary
#A166B1 #9CB166 #66B17C
monochromatic
#5D3568 #814A90 #A166B1 #BA8FC6 #D3B7DA
Accessibility & contrast
On white
4.16
#A166B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#A166B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166B1
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166B1 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B78B4
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#A17083
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a166b1; /* rgb */ color: rgb(161, 102, 177); /* oklch */ color: oklch(60.2% 0.128 318.9);
Tailwind
colors: {
custom: {
50: '#be93c8',
500: '#a166b1',
950: '#000000',
},
}SCSS
$custom: #a166b1; $custom-light: #be93c8; $custom-dark: #000000;
JSON
{
"hex": "#a166b1",
"rgb": {
"r": 161,
"g": 102,
"b": 177
},
"hsl": {
"h": 287.2,
"s": 32.468,
"l": 54.706
},
"oklch": {
"l": 0.60216,
"c": 0.12757,
"h": 318.9
},
"luminance": 0.20254
}Semantic roles & 50–950 ramp
primary
#A166B1
secondary
#B0C9AA
accent
#C95F76
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82