#A666BF#A666BF
#A666BF is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.5% C 0.146 H 315.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A666BF |
|---|---|
| RGB | rgb(166, 102, 191) |
| HSL | hsl(283, 41%, 57%) |
| HSV | hsv(283, 47%, 75%) |
| CMYK | cmyk(13.1%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(53.35, 41.04, -36.59) |
| CIE-LCH | lch(53.35, 54.98, 318.28°) |
| OKLab | oklab(61.48% 0.1046 -0.1014) |
| OKLCH | oklch(61.48% 0.146 315.9) |
| XYZ | xyz(29.8798, 21.3722, 51.8314) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.40
Soft Purple
#A66FB5
ΔE00 3.75
Deep Lilac
#966EBD
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 5.47
Deep Lavender
#8D5EB7
ΔE00 5.96
Dark Lilac
#9C6DA5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666BF #7FBF66
analogous
#7966BF #A666BF #BF66AC
triadic
#A666BF #BFA666 #66BFA6
tetradic
#A666BF #BF7966 #7FBF66 #66ACBF
square
#A666BF #BF7966 #7FBF66 #66ACBF
split-complementary
#A666BF #ACBF66 #66BF79
monochromatic
#653278 #8944A3 #A666BF #BF91D1 #D8BCE3
Accessibility & contrast
On white
3.98
#A666BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#A666BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666BF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666BF | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557CC2
Deuteranopia (green-blind)
#6781BD
Tritanopia (blue-blind)
#A57389
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a666bf; /* rgb */ color: rgb(166, 102, 191); /* oklch */ color: oklch(61.5% 0.146 315.9);
Tailwind
colors: {
custom: {
50: '#c293d2',
500: '#a666bf',
950: '#000000',
},
}SCSS
$custom: #a666bf; $custom-light: #c293d2; $custom-dark: #000000;
JSON
{
"hex": "#a666bf",
"rgb": {
"r": 166,
"g": 102,
"b": 191
},
"hsl": {
"h": 283.146,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.61477,
"c": 0.14571,
"h": 315.9
},
"luminance": 0.21371
}Semantic roles & 50–950 ramp
primary
#A666BF
secondary
#B9D2AE
accent
#D15779
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82