#A166B3#A166B3
#A166B3 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.3% C 0.130 H 318.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A166B3 |
|---|---|
| RGB | rgb(161, 102, 179) |
| HSL | hsl(286, 34%, 55%) |
| HSV | hsv(286, 43%, 70%) |
| CMYK | cmyk(10.1%, 43%, 0%, 29.8%) |
| CIE-LAB | lab(52.21, 37.01, -31.49) |
| CIE-LCH | lch(52.21, 48.59, 319.61°) |
| OKLab | oklab(60.31% 0.0965 -0.0868) |
| OKLCH | oklch(60.31% 0.13 318) |
| XYZ | xyz(27.5849, 20.3353, 45.1111) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.94
Amethyst
#9B5FC0
ΔE00 4.23
Dark Lilac
#9C6DA5
ΔE00 4.28
Deep Lilac
#966EBD
ΔE00 4.39
Deep Lavender
#8D5EB7
ΔE00 5.78
Wisteria
#A87DC2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166B3 #78B366
analogous
#7B66B3 #A166B3 #B3669E
triadic
#A166B3 #B3A166 #66B3A1
tetradic
#A166B3 #B37B66 #78B366 #669EB3
square
#A166B3 #B37B66 #78B366 #669EB3
split-complementary
#A166B3 #9EB366 #66B37B
monochromatic
#5D356A #824993 #A166B3 #BA8FC7 #D3B8DC
Accessibility & contrast
On white
4.14
#A166B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A166B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166B3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166B3 | 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)
#5A79B6
Deuteranopia (green-blind)
#697FB1
Tritanopia (blue-blind)
#A17084
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a166b3; /* rgb */ color: rgb(161, 102, 179); /* oklch */ color: oklch(60.3% 0.130 318.0);
Tailwind
colors: {
custom: {
50: '#be93ca',
500: '#a166b3',
950: '#000000',
},
}SCSS
$custom: #a166b3; $custom-light: #be93ca; $custom-dark: #000000;
JSON
{
"hex": "#a166b3",
"rgb": {
"r": 161,
"g": 102,
"b": 179
},
"hsl": {
"h": 285.974,
"s": 33.624,
"l": 55.098
},
"oklch": {
"l": 0.60313,
"c": 0.12981,
"h": 318
},
"luminance": 0.20334
}Semantic roles & 50–950 ramp
primary
#A166B3
secondary
#B2CBAA
accent
#CA5E77
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82