#A796BB#A796BB
#A796BB is a light, muted violet. Relative luminance 0.336; OKLCH L 70.0% C 0.056 H 305.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A796BB |
|---|---|
| RGB | rgb(167, 150, 187) |
| HSL | hsl(268, 21%, 66%) |
| HSV | hsv(268, 20%, 73%) |
| CMYK | cmyk(10.7%, 19.8%, 0%, 26.7%) |
| CIE-LAB | lab(64.66, 13.47, -16.87) |
| CIE-LCH | lch(64.66, 21.59, 308.60°) |
| OKLab | oklab(70.05% 0.033 -0.0457) |
| OKLCH | oklch(70.05% 0.056 305.8) |
| XYZ | xyz(35.8107, 33.6162, 51.6061) |
| Luminance | 0.3362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.26
Lavender
#B39DDB
ΔE00 7.00
Dusty Lavender
#AC86A8
ΔE00 7.21
Lilac
#C8A2C8
ΔE00 7.61
Pale Purple
#B790D4
ΔE00 7.91
Purpley Grey
#947E94
ΔE00 9.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A796BB #AABB96
analogous
#9697BB #A796BB #B996BB
triadic
#A796BB #BBA796 #96BBA7
tetradic
#A796BB #BB9697 #AABB96 #96BBB9
square
#A796BB #BB9697 #AABB96 #96BBB9
split-complementary
#A796BB #BBB996 #97BB96
monochromatic
#695482 #8871A3 #A796BB #C6BBD3 #E5E0EB
Accessibility & contrast
On white
2.72
#A796BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#A796BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A796BB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A796BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A796BB | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#909CBD
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#A49BA2
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a796bb; /* rgb */ color: rgb(167, 150, 187); /* oklch */ color: oklch(70.0% 0.056 305.8);
Tailwind
colors: {
custom: {
50: '#c1b4cf',
500: '#a796bb',
950: '#000000',
},
}SCSS
$custom: #a796bb; $custom-light: #c1b4cf; $custom-dark: #000000;
JSON
{
"hex": "#a796bb",
"rgb": {
"r": 167,
"g": 150,
"b": 187
},
"hsl": {
"h": 267.568,
"s": 21.387,
"l": 66.078
},
"oklch": {
"l": 0.70047,
"c": 0.05642,
"h": 305.8
},
"luminance": 0.33616
}Semantic roles & 50–950 ramp
primary
#A796BB
secondary
#D7DCD0
accent
#A04676
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082