#AFA5BF#AFA5BF
#AFA5BF is a light, muted violet. Relative luminance 0.398; OKLCH L 73.9% C 0.039 H 302.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA5BF |
|---|---|
| RGB | rgb(175, 165, 191) |
| HSL | hsl(263, 17%, 70%) |
| HSV | hsv(263, 14%, 75%) |
| CMYK | cmyk(8.4%, 13.6%, 0%, 25.1%) |
| CIE-LAB | lab(69.32, 8.62, -12.01) |
| CIE-LCH | lch(69.32, 14.78, 305.65°) |
| OKLab | oklab(73.87% 0.0209 -0.0323) |
| OKLCH | oklch(73.87% 0.039 302.9) |
| XYZ | xyz(40.5366, 39.7858, 54.8240) |
| Luminance | 0.3979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.63
Thistle
#D8BFD8
ΔE00 9.31
Lavender
#B39DDB
ΔE00 9.81
Heather
#A484AC
ΔE00 11.35
Dusty Lavender
#AC86A8
ΔE00 11.37
Dove Gray
#B6B8BD
ΔE00 11.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA5BF #B5BFA5
analogous
#A5A8BF #AFA5BF #BCA5BF
triadic
#AFA5BF #BFAFA5 #A5BFAF
tetradic
#AFA5BF #BFA5A8 #B5BFA5 #A5BFBC
square
#AFA5BF #BFA5A8 #B5BFA5 #A5BFBC
split-complementary
#AFA5BF #BFBCA5 #A8BFA5
monochromatic
#706189 #8F81A6 #AFA5BF #CFC9D8 #EFEDF2
Accessibility & contrast
On white
2.34
#AFA5BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#AFA5BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA5BF
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA5BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA5BF | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1A9C0
Deuteranopia (green-blind)
#A2A9BE
Tritanopia (blue-blind)
#ADA8AD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa5bf; /* rgb */ color: rgb(175, 165, 191); /* oklch */ color: oklch(73.9% 0.039 302.9);
Tailwind
colors: {
custom: {
50: '#c7bfd2',
500: '#afa5bf',
950: '#000000',
},
}SCSS
$custom: #afa5bf; $custom-light: #c7bfd2; $custom-dark: #000000;
JSON
{
"hex": "#afa5bf",
"rgb": {
"r": 175,
"g": 165,
"b": 191
},
"hsl": {
"h": 263.077,
"s": 16.883,
"l": 69.804
},
"oklch": {
"l": 0.73874,
"c": 0.03854,
"h": 302.9
},
"luminance": 0.39786
}Semantic roles & 50–950 ramp
primary
#AFA5BF
secondary
#E1E4DC
accent
#9B4A7C
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182