#AFA6BF#AFA6BF
#AFA6BF is a light, muted violet. Relative luminance 0.401; OKLCH L 74.1% C 0.037 H 301.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA6BF |
|---|---|
| RGB | rgb(175, 166, 191) |
| HSL | hsl(262, 16%, 70%) |
| HSV | hsv(262, 13%, 75%) |
| CMYK | cmyk(8.4%, 13.1%, 0%, 25.1%) |
| CIE-LAB | lab(69.57, 8.06, -11.63) |
| CIE-LCH | lch(69.57, 14.15, 304.75°) |
| OKLab | oklab(74.08% 0.0195 -0.0313) |
| OKLCH | oklch(74.08% 0.037 301.9) |
| XYZ | xyz(40.7176, 40.1480, 54.8843) |
| Luminance | 0.4015 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 9.08
Thistle
#D8BFD8
ΔE00 9.34
Lavender
#B39DDB
ΔE00 10.19
Dove Gray
#B6B8BD
ΔE00 11.19
Heather
#A484AC
ΔE00 11.84
Dusty Lavender
#AC86A8
ΔE00 11.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA6BF #B6BFA6
analogous
#A6A9BF #AFA6BF #BCA6BF
triadic
#AFA6BF #BFAFA6 #A6BFAF
tetradic
#AFA6BF #BFA6A9 #B6BFA6 #A6BFBC
square
#AFA6BF #BFA6A9 #B6BFA6 #A6BFBC
split-complementary
#AFA6BF #BFBCA6 #A9BFA6
monochromatic
#706288 #8F82A5 #AFA6BF #CFCAD9 #EFEDF2
Accessibility & contrast
On white
2.33
#AFA6BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#AFA6BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA6BF
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA6BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA6BF | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2AAC0
Deuteranopia (green-blind)
#A3AABE
Tritanopia (blue-blind)
#ADA9AE
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa6bf; /* rgb */ color: rgb(175, 166, 191); /* oklch */ color: oklch(74.1% 0.037 301.9);
Tailwind
colors: {
custom: {
50: '#c7c0d2',
500: '#afa6bf',
950: '#000000',
},
}SCSS
$custom: #afa6bf; $custom-light: #c7c0d2; $custom-dark: #000000;
JSON
{
"hex": "#afa6bf",
"rgb": {
"r": 175,
"g": 166,
"b": 191
},
"hsl": {
"h": 261.6,
"s": 16.34,
"l": 70
},
"oklch": {
"l": 0.74075,
"c": 0.03685,
"h": 301.9
},
"luminance": 0.40148
}Semantic roles & 50–950 ramp
primary
#AFA6BF
secondary
#E1E4DD
accent
#9B4B7E
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182