#A797BB#A797BB
#A797BB is a light, muted violet. Relative luminance 0.339; OKLCH L 70.2% C 0.055 H 305.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A797BB |
|---|---|
| RGB | rgb(167, 151, 187) |
| HSL | hsl(267, 21%, 66%) |
| HSV | hsv(267, 19%, 73%) |
| CMYK | cmyk(10.7%, 19.3%, 0%, 26.7%) |
| CIE-LAB | lab(64.91, 12.91, -16.48) |
| CIE-LCH | lch(64.91, 20.94, 308.06°) |
| OKLab | oklab(70.25% 0.0315 -0.0447) |
| OKLCH | oklch(70.25% 0.055 305.2) |
| XYZ | xyz(35.9709, 33.9367, 51.6595) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.64
Lavender
#B39DDB
ΔE00 7.15
Dusty Lavender
#AC86A8
ΔE00 7.51
Lilac
#C8A2C8
ΔE00 7.68
Pale Purple
#B790D4
ΔE00 8.25
Purpley Grey
#947E94
ΔE00 9.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A797BB #ABBB97
analogous
#9799BB #A797BB #B997BB
triadic
#A797BB #BBA797 #97BBA7
tetradic
#A797BB #BB9799 #ABBB97 #97BBB9
square
#A797BB #BB9799 #ABBB97 #97BBB9
split-complementary
#A797BB #BBB997 #99BB97
monochromatic
#695582 #8872A3 #A797BB #C6BCD3 #E6E1EB
Accessibility & contrast
On white
2.70
#A797BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#A797BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A797BB
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A797BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A797BB | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#949EBA
Tritanopia (blue-blind)
#A49CA3
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a797bb; /* rgb */ color: rgb(167, 151, 187); /* oklch */ color: oklch(70.2% 0.055 305.2);
Tailwind
colors: {
custom: {
50: '#c1b5cf',
500: '#a797bb',
950: '#000000',
},
}SCSS
$custom: #a797bb; $custom-light: #c1b5cf; $custom-dark: #000000;
JSON
{
"hex": "#a797bb",
"rgb": {
"r": 167,
"g": 151,
"b": 187
},
"hsl": {
"h": 266.667,
"s": 20.93,
"l": 66.275
},
"oklch": {
"l": 0.70245,
"c": 0.05467,
"h": 305.2
},
"luminance": 0.33937
}Semantic roles & 50–950 ramp
primary
#A797BB
secondary
#D8DDD1
accent
#9F4678
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082