#AFA8BB#AFA8BB
#AFA8BB is a light, muted violet. Relative luminance 0.407; OKLCH L 74.3% C 0.028 H 302.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA8BB |
|---|---|
| RGB | rgb(175, 168, 187) |
| HSL | hsl(262, 12%, 70%) |
| HSV | hsv(262, 10%, 73%) |
| CMYK | cmyk(6.4%, 10.2%, 0%, 26.7%) |
| CIE-LAB | lab(69.97, 6.15, -8.82) |
| CIE-LCH | lch(69.97, 10.76, 304.88°) |
| OKLab | oklab(74.34% 0.015 -0.0236) |
| OKLCH | oklch(74.34% 0.028 302.4) |
| XYZ | xyz(40.6498, 40.7071, 52.7198) |
| Luminance | 0.4071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dove Gray
#B6B8BD
ΔE00 9.00
Thistle
#D8BFD8
ΔE00 9.80
Dark Gray
#A9A9A9
ΔE00 9.93
Lilac
#C8A2C8
ΔE00 10.80
Silver
#C0C0C0
ΔE00 11.45
Pinkish Grey
#C8ACA9
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA8BB #B4BBA8
analogous
#A8ABBB #AFA8BB #B9A8BB
triadic
#AFA8BB #BBAFA8 #A8BBAF
tetradic
#AFA8BB #BBA8AB #B4BBA8 #A8BBB9
square
#AFA8BB #BBA8AB #B4BBA8 #A8BBB9
split-complementary
#AFA8BB #BBB9A8 #ABBBA8
monochromatic
#716683 #8F86A0 #AFA8BB #CFCAD6 #EEEDF1
Accessibility & contrast
On white
2.30
#AFA8BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#AFA8BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA8BB
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA8BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA8BB | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5ABBC
Deuteranopia (green-blind)
#A6ABBA
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afa8bb; /* rgb */ color: rgb(175, 168, 187); /* oklch */ color: oklch(74.3% 0.028 302.4);
Tailwind
colors: {
custom: {
50: '#c6c1cf',
500: '#afa8bb',
950: '#000000',
},
}SCSS
$custom: #afa8bb; $custom-light: #c6c1cf; $custom-dark: #000000;
JSON
{
"hex": "#afa8bb",
"rgb": {
"r": 175,
"g": 168,
"b": 187
},
"hsl": {
"h": 262.105,
"s": 12.258,
"l": 69.608
},
"oklch": {
"l": 0.74343,
"c": 0.02802,
"h": 302.4
},
"luminance": 0.40707
}Semantic roles & 50–950 ramp
primary
#AFA8BB
secondary
#E0E2DD
accent
#964F7C
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182