#AFA8BF#AFA8BF
#AFA8BF is a light, muted violet. Relative luminance 0.409; OKLCH L 74.5% C 0.034 H 299.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA8BF |
|---|---|
| RGB | rgb(175, 168, 191) |
| HSL | hsl(258, 15%, 70%) |
| HSV | hsv(258, 12%, 75%) |
| CMYK | cmyk(8.4%, 12%, 0%, 25.1%) |
| CIE-LAB | lab(70.09, 6.96, -10.85) |
| CIE-LCH | lch(70.09, 12.89, 302.68°) |
| OKLab | oklab(74.48% 0.0165 -0.0292) |
| OKLCH | oklch(74.48% 0.034 299.5) |
| XYZ | xyz(41.0840, 40.8808, 55.0065) |
| Luminance | 0.4088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 9.52
Lilac
#C8A2C8
ΔE00 10.04
Dove Gray
#B6B8BD
ΔE00 10.10
Lavender
#B39DDB
ΔE00 11.01
Dark Gray
#A9A9A9
ΔE00 11.26
Silver
#C0C0C0
ΔE00 12.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA8BF #B8BFA8
analogous
#A8ACBF #AFA8BF #BAA8BF
triadic
#AFA8BF #BFAFA8 #A8BFAF
tetradic
#AFA8BF #BFA8AC #B8BFA8 #A8BFBA
square
#AFA8BF #BFA8AC #B8BFA8 #A8BFBA
split-complementary
#AFA8BF #BFBAA8 #ACBFA8
monochromatic
#6F6488 #8F85A5 #AFA8BF #CFCBD9 #EFEDF2
Accessibility & contrast
On white
2.29
#AFA8BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#AFA8BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA8BF
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA8BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA8BF | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4ABC0
Deuteranopia (green-blind)
#A5ABBE
Tritanopia (blue-blind)
#ACABAF
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afa8bf; /* rgb */ color: rgb(175, 168, 191); /* oklch */ color: oklch(74.5% 0.034 299.5);
Tailwind
colors: {
custom: {
50: '#c7c1d2',
500: '#afa8bf',
950: '#000000',
},
}SCSS
$custom: #afa8bf; $custom-light: #c7c1d2; $custom-dark: #000000;
JSON
{
"hex": "#afa8bf",
"rgb": {
"r": 175,
"g": 168,
"b": 191
},
"hsl": {
"h": 258.261,
"s": 15.232,
"l": 70.392
},
"oklch": {
"l": 0.74478,
"c": 0.03353,
"h": 299.5
},
"luminance": 0.40881
}Semantic roles & 50–950 ramp
primary
#AFA8BF
secondary
#E3E5DE
accent
#994C82
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182