#A166BE#A166BE
#A166BE is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.9% C 0.142 H 313.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A166BE |
|---|---|
| RGB | rgb(161, 102, 190) |
| HSL | hsl(280, 40%, 57%) |
| HSV | hsv(280, 46%, 75%) |
| CMYK | cmyk(15.3%, 46.3%, 0%, 25.5%) |
| CIE-LAB | lab(52.73, 39.37, -37.03) |
| CIE-LCH | lch(52.73, 54.05, 316.75°) |
| OKLab | oklab(60.87% 0.0984 -0.1028) |
| OKLCH | oklch(60.87% 0.142 313.7) |
| XYZ | xyz(28.7421, 20.7982, 51.2056) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.66
Deep Lilac
#966EBD
ΔE00 3.44
Soft Purple
#A66FB5
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 5.00
Mediumorchid
#BA55D3
ΔE00 6.06
Dark Lilac
#9C6DA5
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166BE #83BE66
analogous
#7566BE #A166BE #BE66AF
triadic
#A166BE #BEA166 #66BEA1
tetradic
#A166BE #BE7566 #83BE66 #66AFBE
square
#A166BE #BE7566 #83BE66 #66AFBE
split-complementary
#A166BE #AFBE66 #66BE75
monochromatic
#603377 #8345A2 #A166BE #BB91D0 #D6BCE2
Accessibility & contrast
On white
4.07
#A166BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#A166BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166BE
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166BE | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547BC1
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#9F7389
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a166be; /* rgb */ color: rgb(161, 102, 190); /* oklch */ color: oklch(60.9% 0.142 313.7);
Tailwind
colors: {
custom: {
50: '#be93d2',
500: '#a166be',
950: '#000000',
},
}SCSS
$custom: #a166be; $custom-light: #be93d2; $custom-dark: #000000;
JSON
{
"hex": "#a166be",
"rgb": {
"r": 161,
"g": 102,
"b": 190
},
"hsl": {
"h": 280.227,
"s": 40.367,
"l": 57.255
},
"oklch": {
"l": 0.60865,
"c": 0.14231,
"h": 313.7
},
"luminance": 0.20798
}Semantic roles & 50–950 ramp
primary
#A166BE
secondary
#BAD2AE
accent
#D0587F
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82