#AFA6BA#AFA6BA
#AFA6BA is a light, muted violet. Relative luminance 0.399; OKLCH L 73.9% C 0.030 H 305.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA6BA |
|---|---|
| RGB | rgb(175, 166, 186) |
| HSL | hsl(267, 13%, 69%) |
| HSV | hsv(267, 11%, 73%) |
| CMYK | cmyk(5.9%, 10.8%, 0%, 27.1%) |
| CIE-LAB | lab(69.42, 7.05, -9.09) |
| CIE-LCH | lch(69.42, 11.50, 307.81°) |
| OKLab | oklab(73.9% 0.0176 -0.0244) |
| OKLCH | oklch(73.9% 0.03 305.9) |
| XYZ | xyz(40.1768, 39.9316, 52.0358) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 9.57
Dove Gray
#B6B8BD
ΔE00 9.92
Lilac
#C8A2C8
ΔE00 9.97
Dark Gray
#A9A9A9
ΔE00 10.61
Pinkish Grey
#C8ACA9
ΔE00 11.60
Lavender
#B39DDB
ΔE00 11.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA6BA #B1BAA6
analogous
#A6A7BA #AFA6BA #B9A6BA
triadic
#AFA6BA #BAAFA6 #A6BAAF
tetradic
#AFA6BA #BAA6A7 #B1BAA6 #A6BAB9
square
#AFA6BA #BAA6A7 #B1BAA6 #A6BAB9
split-complementary
#AFA6BA #BAB9A6 #A7BAA6
monochromatic
#716481 #90849F #AFA6BA #CEC8D5 #EDEBEF
Accessibility & contrast
On white
2.34
#AFA6BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#AFA6BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA6BA
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA6BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA6BA | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A9BB
Deuteranopia (green-blind)
#A4AAB9
Tritanopia (blue-blind)
#AEA8AC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa6ba; /* rgb */ color: rgb(175, 166, 186); /* oklch */ color: oklch(73.9% 0.030 305.9);
Tailwind
colors: {
custom: {
50: '#c6c0ce',
500: '#afa6ba',
950: '#000000',
},
}SCSS
$custom: #afa6ba; $custom-light: #c6c0ce; $custom-dark: #000000;
JSON
{
"hex": "#afa6ba",
"rgb": {
"r": 175,
"g": 166,
"b": 186
},
"hsl": {
"h": 267,
"s": 12.658,
"l": 69.02
},
"oklch": {
"l": 0.73904,
"c": 0.03008,
"h": 305.9
},
"luminance": 0.39932
}Semantic roles & 50–950 ramp
primary
#AFA6BA
secondary
#DEE1DB
accent
#974F76
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182