#AFA7BB#AFA7BB
#AFA7BB is a light, muted violet. Relative luminance 0.403; OKLCH L 74.1% C 0.030 H 303.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA7BB |
|---|---|
| RGB | rgb(175, 167, 187) |
| HSL | hsl(264, 13%, 69%) |
| HSV | hsv(264, 11%, 73%) |
| CMYK | cmyk(6.4%, 10.7%, 0%, 26.7%) |
| CIE-LAB | lab(69.71, 6.70, -9.21) |
| CIE-LCH | lch(69.71, 11.39, 306.04°) |
| OKLab | oklab(74.14% 0.0165 -0.0247) |
| OKLCH | oklch(74.14% 0.03 303.8) |
| XYZ | xyz(40.4659, 40.3393, 52.6585) |
| Luminance | 0.4034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dove Gray
#B6B8BD
ΔE00 9.60
Thistle
#D8BFD8
ΔE00 9.63
Lilac
#C8A2C8
ΔE00 10.27
Dark Gray
#A9A9A9
ΔE00 10.43
Pinkish Grey
#C8ACA9
ΔE00 11.76
Lavender
#B39DDB
ΔE00 11.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA7BB #B3BBA7
analogous
#A7A9BB #AFA7BB #B9A7BB
triadic
#AFA7BB #BBAFA7 #A7BBAF
tetradic
#AFA7BB #BBA7A9 #B3BBA7 #A7BBB9
square
#AFA7BB #BBA7A9 #B3BBA7 #A7BBB9
split-complementary
#AFA7BB #BBB9A7 #A9BBA7
monochromatic
#716583 #9084A0 #AFA7BB #CECAD6 #EEECF0
Accessibility & contrast
On white
2.32
#AFA7BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#AFA7BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA7BB
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA7BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA7BB | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4AABC
Deuteranopia (green-blind)
#A5AABA
Tritanopia (blue-blind)
#ADAAAD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa7bb; /* rgb */ color: rgb(175, 167, 187); /* oklch */ color: oklch(74.1% 0.030 303.8);
Tailwind
colors: {
custom: {
50: '#c6c1cf',
500: '#afa7bb',
950: '#000000',
},
}SCSS
$custom: #afa7bb; $custom-light: #c6c1cf; $custom-dark: #000000;
JSON
{
"hex": "#afa7bb",
"rgb": {
"r": 175,
"g": 167,
"b": 187
},
"hsl": {
"h": 264,
"s": 12.821,
"l": 69.412
},
"oklch": {
"l": 0.7414,
"c": 0.02972,
"h": 303.8
},
"luminance": 0.40339
}Semantic roles & 50–950 ramp
primary
#AFA7BB
secondary
#DFE2DC
accent
#974F7A
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182