#A166BF#A166BF
#A166BF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.143 H 313.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A166BF |
|---|---|
| RGB | rgb(161, 102, 191) |
| HSL | hsl(280, 41%, 57%) |
| HSV | hsv(280, 47%, 75%) |
| CMYK | cmyk(15.7%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(52.78, 39.58, -37.53) |
| CIE-LCH | lch(52.78, 54.55, 316.52°) |
| OKLab | oklab(60.92% 0.0985 -0.1043) |
| OKLCH | oklch(60.92% 0.143 313.4) |
| XYZ | xyz(28.8517, 20.8421, 51.7832) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.59
Deep Lilac
#966EBD
ΔE00 3.42
Soft Purple
#A66FB5
ΔE00 4.23
Deep Lavender
#8D5EB7
ΔE00 4.98
Mediumorchid
#BA55D3
ΔE00 5.98
Dark Lilac
#9C6DA5
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166BF #84BF66
analogous
#7466BF #A166BF #BF66B1
triadic
#A166BF #BFA166 #66BFA1
tetradic
#A166BF #BF7466 #84BF66 #66B1BF
square
#A166BF #BF7466 #84BF66 #66B1BF
split-complementary
#A166BF #B1BF66 #66BF74
monochromatic
#613278 #8344A3 #A166BF #BC91D1 #D6BCE3
Accessibility & contrast
On white
4.06
#A166BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#A166BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166BF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166BF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#647FBD
Tritanopia (blue-blind)
#9E7389
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a166bf; /* rgb */ color: rgb(161, 102, 191); /* oklch */ color: oklch(60.9% 0.143 313.4);
Tailwind
colors: {
custom: {
50: '#be93d2',
500: '#a166bf',
950: '#000000',
},
}SCSS
$custom: #a166bf; $custom-light: #be93d2; $custom-dark: #000000;
JSON
{
"hex": "#a166bf",
"rgb": {
"r": 161,
"g": 102,
"b": 191
},
"hsl": {
"h": 279.775,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.60917,
"c": 0.14346,
"h": 313.4
},
"luminance": 0.20841
}Semantic roles & 50–950 ramp
primary
#A166BF
secondary
#BBD2AE
accent
#D15780
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82