#A797BF#A797BF
#A797BF is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.4% C 0.060 H 303.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A797BF |
|---|---|
| RGB | rgb(167, 151, 191) |
| HSL | hsl(264, 24%, 67%) |
| HSV | hsv(264, 21%, 75%) |
| CMYK | cmyk(12.6%, 20.9%, 0%, 25.1%) |
| CIE-LAB | lab(65.05, 13.76, -18.52) |
| CIE-LCH | lch(65.05, 23.07, 306.62°) |
| OKLab | oklab(70.4% 0.0328 -0.0503) |
| OKLCH | oklch(70.4% 0.06 303.1) |
| XYZ | xyz(36.4051, 34.1103, 53.9462) |
| Luminance | 0.3411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.04
Heather
#A484AC
ΔE00 6.75
Pale Purple
#B790D4
ΔE00 7.31
Lilac
#C8A2C8
ΔE00 7.81
Dusty Lavender
#AC86A8
ΔE00 7.91
Wisteria
#A87DC2
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A797BF #AFBF97
analogous
#979BBF #A797BF #BB97BF
triadic
#A797BF #BFA797 #97BFA7
tetradic
#A797BF #BF979B #AFBF97 #97BFBB
square
#A797BF #BF979B #AFBF97 #97BFBB
split-complementary
#A797BF #BFBB97 #9BBF97
monochromatic
#695488 #8771A8 #A797BF #C7BDD6 #E7E3EE
Accessibility & contrast
On white
2.68
#A797BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A797BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A797BF
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A797BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A797BF | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#909DC1
Deuteranopia (green-blind)
#929EBE
Tritanopia (blue-blind)
#A39CA5
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a797bf; /* rgb */ color: rgb(167, 151, 191); /* oklch */ color: oklch(70.4% 0.060 303.1);
Tailwind
colors: {
custom: {
50: '#c1b5d2',
500: '#a797bf',
950: '#000000',
},
}SCSS
$custom: #a797bf; $custom-light: #c1b5d2; $custom-dark: #000000;
JSON
{
"hex": "#a797bf",
"rgb": {
"r": 167,
"g": 151,
"b": 191
},
"hsl": {
"h": 264,
"s": 23.81,
"l": 67.059
},
"oklch": {
"l": 0.70397,
"c": 0.06009,
"h": 303.1
},
"luminance": 0.3411
}Semantic roles & 50–950 ramp
primary
#A797BF
secondary
#DADFD3
accent
#A2437C
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082