#A397AB#A397AB
#A397AB is a light, muted violet. Relative luminance 0.329; OKLCH L 69.3% C 0.032 H 312.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A397AB |
|---|---|
| RGB | rgb(163, 151, 171) |
| HSL | hsl(276, 11%, 63%) |
| HSV | hsv(276, 12%, 67%) |
| CMYK | cmyk(4.7%, 11.7%, 0%, 32.9%) |
| CIE-LAB | lab(64.05, 8.23, -8.83) |
| CIE-LCH | lch(64.05, 12.07, 312.97°) |
| OKLab | oklab(69.32% 0.0213 -0.0236) |
| OKLCH | oklch(69.32% 0.032 312) |
| XYZ | xyz(33.5203, 32.8602, 43.0969) |
| Luminance | 0.3286 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Purpley Grey
#947E94
ΔE00 8.52
Dusty Lavender
#AC86A8
ΔE00 9.29
Heather
#A484AC
ΔE00 9.39
Lilac
#C8A2C8
ΔE00 10.45
Light Mauve
#C292A1
ΔE00 11.20
Dark Gray
#A9A9A9
ΔE00 12.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A397AB #9FAB97
analogous
#9997AB #A397AB #AB97A9
triadic
#A397AB #ABA397 #97ABA3
tetradic
#A397AB #AB9997 #9FAB97 #97A9AB
square
#A397AB #AB9997 #9FAB97 #97A9AB
split-complementary
#A397AB #A9AB97 #97AB99
monochromatic
#66596E #857590 #A397AB #C1B9C6 #DFDBE2
Accessibility & contrast
On white
2.77
#A397AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#A397AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A397AB
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A397AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A397AB | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#949BAC
Deuteranopia (green-blind)
#979BAA
Tritanopia (blue-blind)
#A2999D
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a397ab; /* rgb */ color: rgb(163, 151, 171); /* oklch */ color: oklch(69.3% 0.032 312.0);
Tailwind
colors: {
custom: {
50: '#beb5c4',
500: '#a397ab',
950: '#000000',
},
}SCSS
$custom: #a397ab; $custom-light: #beb5c4; $custom-dark: #000000;
JSON
{
"hex": "#a397ab",
"rgb": {
"r": 163,
"g": 151,
"b": 171
},
"hsl": {
"h": 276,
"s": 10.638,
"l": 63.137
},
"oklch": {
"l": 0.69318,
"c": 0.03183,
"h": 312
},
"luminance": 0.3286
}Semantic roles & 50–950 ramp
primary
#A397AB
secondary
#CED2CB
accent
#95516C
background
#FBFBFC
surface
#F6F6F8
border
#D0D0D1
text
#121112
muted
#818081