#A786BB#A786BB
#A786BB is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.0% C 0.085 H 312.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A786BB |
|---|---|
| RGB | rgb(167, 134, 187) |
| HSL | hsl(277, 28%, 63%) |
| HSV | hsv(277, 28%, 73%) |
| CMYK | cmyk(10.7%, 28.3%, 0%, 26.7%) |
| CIE-LAB | lab(60.65, 22.54, -22.97) |
| CIE-LCH | lch(60.65, 32.18, 314.46°) |
| OKLab | oklab(66.96% 0.0572 -0.0627) |
| OKLCH | oklch(66.96% 0.085 312.4) |
| XYZ | xyz(33.4296, 28.8540, 50.8124) |
| Luminance | 0.2885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 3.69
Wisteria
#A87DC2
ΔE00 3.95
Pale Purple
#B790D4
ΔE00 5.20
Dusty Lavender
#AC86A8
ΔE00 5.97
Soft Purple
#A66FB5
ΔE00 7.23
Lavender
#B39DDB
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786BB #9ABB86
analogous
#8C86BB #A786BB #BB86B4
triadic
#A786BB #BBA786 #86BBA7
tetradic
#A786BB #BB8C86 #9ABB86 #86B4BB
square
#A786BB #BB8C86 #9ABB86 #86B4BB
split-complementary
#A786BB #B4BB86 #86BB8C
monochromatic
#6A477F #8B5FA5 #A786BB #C3ADD1 #E0D4E7
Accessibility & contrast
On white
3.10
#A786BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#A786BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786BB
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786BB | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E90BD
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#A58D99
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a786bb; /* rgb */ color: rgb(167, 134, 187); /* oklch */ color: oklch(67.0% 0.085 312.4);
Tailwind
colors: {
custom: {
50: '#c1a9cf',
500: '#a786bb',
950: '#000000',
},
}SCSS
$custom: #a786bb; $custom-light: #c1a9cf; $custom-dark: #000000;
JSON
{
"hex": "#a786bb",
"rgb": {
"r": 167,
"g": 134,
"b": 187
},
"hsl": {
"h": 277.358,
"s": 28.042,
"l": 62.941
},
"oklch": {
"l": 0.66963,
"c": 0.08489,
"h": 312.4
},
"luminance": 0.28854
}Semantic roles & 50–950 ramp
primary
#A786BB
secondary
#CCD8C5
accent
#A73F66
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82