#A8A2BA#A8A2BA
#A8A2BA is a light, muted violet. Relative luminance 0.377; OKLCH L 72.5% C 0.035 H 297.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2BA |
|---|---|
| RGB | rgb(168, 162, 186) |
| HSL | hsl(255, 15%, 68%) |
| HSV | hsv(255, 13%, 73%) |
| CMYK | cmyk(9.7%, 12.9%, 0%, 27.1%) |
| CIE-LAB | lab(67.81, 6.88, -11.56) |
| CIE-LCH | lch(67.81, 13.45, 300.76°) |
| OKLab | oklab(72.51% 0.0159 -0.0311) |
| OKLCH | oklch(72.51% 0.035 297) |
| XYZ | xyz(37.9300, 37.7106, 51.7255) |
| Luminance | 0.3771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 10.48
Lavender
#B39DDB
ΔE00 10.62
Dove Gray
#B6B8BD
ΔE00 10.99
Thistle
#D8BFD8
ΔE00 11.14
Dark Gray
#A9A9A9
ΔE00 11.53
Heather
#A484AC
ΔE00 11.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2BA #B4BAA2
analogous
#A2A8BA #A8A2BA #B4A2BA
triadic
#A8A2BA #BAA8A2 #A2BAA8
tetradic
#A8A2BA #BAA2A8 #B4BAA2 #A2BAB4
square
#A8A2BA #BAA2A8 #B4BAA2 #A2BAB4
split-complementary
#A8A2BA #BAB4A2 #A8BAA2
monochromatic
#686082 #877FA0 #A8A2BA #C9C5D4 #EAE8EE
Accessibility & contrast
On white
2.46
#A8A2BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#A8A2BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2BA
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2BA | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DA5BB
Deuteranopia (green-blind)
#9EA5B9
Tritanopia (blue-blind)
#A5A5AA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8a2ba; /* rgb */ color: rgb(168, 162, 186); /* oklch */ color: oklch(72.5% 0.035 297.0);
Tailwind
colors: {
custom: {
50: '#c2bdce',
500: '#a8a2ba',
950: '#000000',
},
}SCSS
$custom: #a8a2ba; $custom-light: #c2bdce; $custom-dark: #000000;
JSON
{
"hex": "#a8a2ba",
"rgb": {
"r": 168,
"g": 162,
"b": 186
},
"hsl": {
"h": 255,
"s": 14.815,
"l": 68.235
},
"oklch": {
"l": 0.72505,
"c": 0.03495,
"h": 297
},
"luminance": 0.37711
}Semantic roles & 50–950 ramp
primary
#A8A2BA
secondary
#DEE0D8
accent
#994C86
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121213
muted
#818182