#A397BA#A397BA
#A397BA is a light, muted violet. Relative luminance 0.335; OKLCH L 69.9% C 0.052 H 300.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A397BA |
|---|---|
| RGB | rgb(163, 151, 186) |
| HSL | hsl(261, 20%, 66%) |
| HSV | hsv(261, 19%, 73%) |
| CMYK | cmyk(12.4%, 18.8%, 0%, 27.1%) |
| CIE-LAB | lab(64.54, 11.36, -16.53) |
| CIE-LCH | lch(64.54, 20.05, 304.49°) |
| OKLab | oklab(69.86% 0.0266 -0.0448) |
| OKLCH | oklch(69.86% 0.052 300.7) |
| XYZ | xyz(35.0320, 33.4649, 51.0586) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 7.39
Lavender
#B39DDB
ΔE00 7.52
Dusty Lavender
#AC86A8
ΔE00 8.47
Lilac
#C8A2C8
ΔE00 8.87
Pale Purple
#B790D4
ΔE00 8.94
Purpley Grey
#947E94
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A397BA #AEBA97
analogous
#979CBA #A397BA #B497BA
triadic
#A397BA #BAA397 #97BAA3
tetradic
#A397BA #BA979C #AEBA97 #97BAB4
square
#A397BA #BA979C #AEBA97 #97BAB4
split-complementary
#A397BA #BAB497 #9CBA97
monochromatic
#645681 #8272A2 #A397BA #C4BCD2 #E4E1EB
Accessibility & contrast
On white
2.73
#A397BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A397BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A397BA
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A397BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A397BA | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#909CBC
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#9F9CA3
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a397ba; /* rgb */ color: rgb(163, 151, 186); /* oklch */ color: oklch(69.9% 0.052 300.7);
Tailwind
colors: {
custom: {
50: '#beb5ce',
500: '#a397ba',
950: '#000000',
},
}SCSS
$custom: #a397ba; $custom-light: #beb5ce; $custom-dark: #000000;
JSON
{
"hex": "#a397ba",
"rgb": {
"r": 163,
"g": 151,
"b": 186
},
"hsl": {
"h": 260.571,
"s": 20.231,
"l": 66.078
},
"oklch": {
"l": 0.69859,
"c": 0.05216,
"h": 300.7
},
"luminance": 0.33465
}Semantic roles & 50–950 ramp
primary
#A397BA
secondary
#D8DCD1
accent
#9F4781
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#121113
muted
#818082