#A166B5#A166B5
#A166B5 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.4% C 0.132 H 317.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A166B5 |
|---|---|
| RGB | rgb(161, 102, 181) |
| HSL | hsl(285, 35%, 55%) |
| HSV | hsv(285, 44%, 71%) |
| CMYK | cmyk(11%, 43.6%, 0%, 29%) |
| CIE-LAB | lab(52.31, 37.43, -32.50) |
| CIE-LCH | lch(52.31, 49.58, 319.03°) |
| OKLab | oklab(60.41% 0.0969 -0.0898) |
| OKLCH | oklch(60.41% 0.132 317.2) |
| XYZ | xyz(27.7886, 20.4168, 46.1841) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.06
Amethyst
#9B5FC0
ΔE00 3.88
Deep Lilac
#966EBD
ΔE00 4.13
Dark Lilac
#9C6DA5
ΔE00 4.64
Deep Lavender
#8D5EB7
ΔE00 5.56
Wisteria
#A87DC2
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166B5 #7AB566
analogous
#7966B5 #A166B5 #B566A1
triadic
#A166B5 #B5A166 #66B5A1
tetradic
#A166B5 #B57966 #7AB566 #66A1B5
square
#A166B5 #B57966 #7AB566 #66A1B5
split-complementary
#A166B5 #A1B566 #66B579
monochromatic
#5E346C #824895 #A166B5 #BA8FC9 #D4B8DD
Accessibility & contrast
On white
4.13
#A166B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A166B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166B5
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166B5 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5979B8
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#A17185
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a166b5; /* rgb */ color: rgb(161, 102, 181); /* oklch */ color: oklch(60.4% 0.132 317.2);
Tailwind
colors: {
custom: {
50: '#be93cb',
500: '#a166b5',
950: '#000000',
},
}SCSS
$custom: #a166b5; $custom-light: #be93cb; $custom-dark: #000000;
JSON
{
"hex": "#a166b5",
"rgb": {
"r": 161,
"g": 102,
"b": 181
},
"hsl": {
"h": 284.81,
"s": 34.802,
"l": 55.49
},
"oklch": {
"l": 0.60411,
"c": 0.13206,
"h": 317.2
},
"luminance": 0.20416
}Semantic roles & 50–950 ramp
primary
#A166B5
secondary
#B3CCAB
accent
#CB5D79
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82