#A797BE#A797BE
#A797BE is a light, muted violet. Relative luminance 0.341; OKLCH L 70.4% C 0.059 H 303.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A797BE |
|---|---|
| RGB | rgb(167, 151, 190) |
| HSL | hsl(265, 23%, 67%) |
| HSV | hsv(265, 21%, 75%) |
| CMYK | cmyk(12.1%, 20.5%, 0%, 25.5%) |
| CIE-LAB | lab(65.02, 13.55, -18.01) |
| CIE-LCH | lch(65.02, 22.53, 306.95°) |
| OKLab | oklab(70.36% 0.0325 -0.0489) |
| OKLCH | oklch(70.36% 0.059 303.6) |
| XYZ | xyz(36.2954, 34.0665, 53.3686) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.31
Heather
#A484AC
ΔE00 6.70
Pale Purple
#B790D4
ΔE00 7.53
Lilac
#C8A2C8
ΔE00 7.76
Dusty Lavender
#AC86A8
ΔE00 7.80
Wisteria
#A87DC2
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A797BE #AEBE97
analogous
#979BBE #A797BE #BB97BE
triadic
#A797BE #BEA797 #97BEA7
tetradic
#A797BE #BE979B #AEBE97 #97BEBB
square
#A797BE #BE979B #AEBE97 #97BEBB
split-complementary
#A797BE #BEBB97 #9BBE97
monochromatic
#695487 #8771A6 #A797BE #C7BDD6 #E7E2ED
Accessibility & contrast
On white
2.69
#A797BE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A797BE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A797BE
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A797BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A797BE | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#909DC0
Deuteranopia (green-blind)
#939EBD
Tritanopia (blue-blind)
#A49CA4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a797be; /* rgb */ color: rgb(167, 151, 190); /* oklch */ color: oklch(70.4% 0.059 303.6);
Tailwind
colors: {
custom: {
50: '#c1b5d1',
500: '#a797be',
950: '#000000',
},
}SCSS
$custom: #a797be; $custom-light: #c1b5d1; $custom-dark: #000000;
JSON
{
"hex": "#a797be",
"rgb": {
"r": 167,
"g": 151,
"b": 190
},
"hsl": {
"h": 264.615,
"s": 23.077,
"l": 66.863
},
"oklch": {
"l": 0.70359,
"c": 0.05873,
"h": 303.6
},
"luminance": 0.34066
}Semantic roles & 50–950 ramp
primary
#A797BE
secondary
#DADFD2
accent
#A2447B
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082