#A866BF#A866BF
#A866BF is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.7% C 0.147 H 316.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A866BF |
|---|---|
| RGB | rgb(168, 102, 191) |
| HSL | hsl(284, 41%, 57%) |
| HSV | hsv(284, 47%, 75%) |
| CMYK | cmyk(12%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(53.59, 41.62, -36.20) |
| CIE-LCH | lch(53.59, 55.16, 318.98°) |
| OKLab | oklab(61.7% 0.1071 -0.1003) |
| OKLCH | oklch(61.7% 0.147 316.9) |
| XYZ | xyz(30.3024, 21.5901, 51.8512) |
| Luminance | 0.2159 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 3.77
Deep Lilac
#966EBD
ΔE00 4.57
Mediumorchid
#BA55D3
ΔE00 5.32
Dark Lilac
#9C6DA5
ΔE00 6.31
Deep Lavender
#8D5EB7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866BF #7DBF66
analogous
#7B66BF #A866BF #BF66AA
triadic
#A866BF #BFA866 #66BFA8
tetradic
#A866BF #BF7B66 #7DBF66 #66AABF
square
#A866BF #BF7B66 #7DBF66 #66AABF
split-complementary
#A866BF #AABF66 #66BF7B
monochromatic
#663278 #8B44A3 #A866BF #C191D1 #D9BCE3
Accessibility & contrast
On white
3.95
#A866BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#A866BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866BF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866BF | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#A77389
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a866bf; /* rgb */ color: rgb(168, 102, 191); /* oklch */ color: oklch(61.7% 0.147 316.9);
Tailwind
colors: {
custom: {
50: '#c393d2',
500: '#a866bf',
950: '#000000',
},
}SCSS
$custom: #a866bf; $custom-light: #c393d2; $custom-dark: #000000;
JSON
{
"hex": "#a866bf",
"rgb": {
"r": 168,
"g": 102,
"b": 191
},
"hsl": {
"h": 284.494,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.61703,
"c": 0.14667,
"h": 316.9
},
"luminance": 0.21589
}Semantic roles & 50–950 ramp
primary
#A866BF
secondary
#B8D2AE
accent
#D15776
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82