#AFA6BB#AFA6BB
#AFA6BB is a light, muted violet. Relative luminance 0.400; OKLCH L 73.9% C 0.031 H 305.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA6BB |
|---|---|
| RGB | rgb(175, 166, 187) |
| HSL | hsl(266, 13%, 69%) |
| HSV | hsv(266, 11%, 73%) |
| CMYK | cmyk(6.4%, 11.2%, 0%, 26.7%) |
| CIE-LAB | lab(69.45, 7.25, -9.60) |
| CIE-LCH | lch(69.45, 12.03, 307.08°) |
| OKLab | oklab(73.94% 0.018 -0.0257) |
| OKLCH | oklch(73.94% 0.031 305) |
| XYZ | xyz(40.2835, 39.9743, 52.5977) |
| Luminance | 0.3997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 9.49
Lilac
#C8A2C8
ΔE00 9.76
Dove Gray
#B6B8BD
ΔE00 10.18
Dark Gray
#A9A9A9
ΔE00 10.93
Lavender
#B39DDB
ΔE00 11.57
Pinkish Grey
#C8ACA9
ΔE00 11.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA6BB #B2BBA6
analogous
#A6A8BB #AFA6BB #BAA6BB
triadic
#AFA6BB #BBAFA6 #A6BBAF
tetradic
#AFA6BB #BBA6A8 #B2BBA6 #A6BBBA
square
#AFA6BB #BBA6A8 #B2BBA6 #A6BBBA
split-complementary
#AFA6BB #BBBAA6 #A8BBA6
monochromatic
#716483 #9083A0 #AFA6BB #CEC9D6 #EDEBF0
Accessibility & contrast
On white
2.33
#AFA6BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#AFA6BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA6BB
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA6BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA6BB | 1.00 | 2.33 | 8.99 | 8.99 |
| #FFFFFF | 2.33 | 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)
#A3A9BC
Deuteranopia (green-blind)
#A4AABA
Tritanopia (blue-blind)
#ADA9AD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa6bb; /* rgb */ color: rgb(175, 166, 187); /* oklch */ color: oklch(73.9% 0.031 305.0);
Tailwind
colors: {
custom: {
50: '#c7c0cf',
500: '#afa6bb',
950: '#000000',
},
}SCSS
$custom: #afa6bb; $custom-light: #c7c0cf; $custom-dark: #000000;
JSON
{
"hex": "#afa6bb",
"rgb": {
"r": 175,
"g": 166,
"b": 187
},
"hsl": {
"h": 265.714,
"s": 13.376,
"l": 69.216
},
"oklch": {
"l": 0.73938,
"c": 0.03142,
"h": 305
},
"luminance": 0.39974
}Semantic roles & 50–950 ramp
primary
#AFA6BB
secondary
#DFE1DB
accent
#984E78
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182