#AFA7BA#AFA7BA
#AFA7BA is a light, muted violet. Relative luminance 0.403; OKLCH L 74.1% C 0.028 H 304.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA7BA |
|---|---|
| RGB | rgb(175, 167, 186) |
| HSL | hsl(265, 12%, 69%) |
| HSV | hsv(265, 10%, 73%) |
| CMYK | cmyk(5.9%, 10.2%, 0%, 27.1%) |
| CIE-LAB | lab(69.68, 6.50, -8.70) |
| CIE-LCH | lch(69.68, 10.86, 306.76°) |
| OKLab | oklab(74.11% 0.0162 -0.0233) |
| OKLCH | oklch(74.11% 0.028 304.7) |
| XYZ | xyz(40.3593, 40.2966, 52.0967) |
| Luminance | 0.4030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dove Gray
#B6B8BD
ΔE00 9.33
Thistle
#D8BFD8
ΔE00 9.72
Dark Gray
#A9A9A9
ΔE00 10.10
Lilac
#C8A2C8
ΔE00 10.48
Pinkish Grey
#C8ACA9
ΔE00 11.50
Silver
#C0C0C0
ΔE00 11.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA7BA #B2BAA7
analogous
#A7A9BA #AFA7BA #B9A7BA
triadic
#AFA7BA #BAAFA7 #A7BAAF
tetradic
#AFA7BA #BAA7A9 #B2BAA7 #A7BAB9
square
#AFA7BA #BAA7A9 #B2BAA7 #A7BAB9
split-complementary
#AFA7BA #BAB9A7 #A9BAA7
monochromatic
#716581 #90859F #AFA7BA #CEC9D5 #EDECF0
Accessibility & contrast
On white
2.32
#AFA7BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#AFA7BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA7BA
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA7BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA7BA | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4AABB
Deuteranopia (green-blind)
#A5AAB9
Tritanopia (blue-blind)
#AEA9AD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa7ba; /* rgb */ color: rgb(175, 167, 186); /* oklch */ color: oklch(74.1% 0.028 304.7);
Tailwind
colors: {
custom: {
50: '#c6c1ce',
500: '#afa7ba',
950: '#000000',
},
}SCSS
$custom: #afa7ba; $custom-light: #c6c1ce; $custom-dark: #000000;
JSON
{
"hex": "#afa7ba",
"rgb": {
"r": 175,
"g": 167,
"b": 186
},
"hsl": {
"h": 265.263,
"s": 12.102,
"l": 69.216
},
"oklch": {
"l": 0.74106,
"c": 0.02837,
"h": 304.7
},
"luminance": 0.40297
}Semantic roles & 50–950 ramp
primary
#AFA7BA
secondary
#DFE1DC
accent
#964F78
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182