#AFA7BF#AFA7BF
#AFA7BF is a light, muted violet. Relative luminance 0.405; OKLCH L 74.3% C 0.035 H 300.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA7BF |
|---|---|
| RGB | rgb(175, 167, 191) |
| HSL | hsl(260, 16%, 70%) |
| HSV | hsv(260, 13%, 75%) |
| CMYK | cmyk(8.4%, 12.6%, 0%, 25.1%) |
| CIE-LAB | lab(69.83, 7.51, -11.24) |
| CIE-LCH | lch(69.83, 13.52, 303.76°) |
| OKLab | oklab(74.28% 0.018 -0.0302) |
| OKLCH | oklch(74.28% 0.035 300.7) |
| XYZ | xyz(40.9001, 40.5130, 54.9452) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 9.41
Lilac
#C8A2C8
ΔE00 9.55
Lavender
#B39DDB
ΔE00 10.60
Dove Gray
#B6B8BD
ΔE00 10.65
Dark Gray
#A9A9A9
ΔE00 11.71
Heather
#A484AC
ΔE00 12.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA7BF #B7BFA7
analogous
#A7ABBF #AFA7BF #BBA7BF
triadic
#AFA7BF #BFAFA7 #A7BFAF
tetradic
#AFA7BF #BFA7AB #B7BFA7 #A7BFBB
square
#AFA7BF #BFA7AB #B7BFA7 #A7BFBB
split-complementary
#AFA7BF #BFBBA7 #ABBFA7
monochromatic
#706388 #8F84A5 #AFA7BF #CFCAD9 #EFEDF2
Accessibility & contrast
On white
2.31
#AFA7BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#AFA7BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA7BF
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA7BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA7BF | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3ABC0
Deuteranopia (green-blind)
#A4ABBE
Tritanopia (blue-blind)
#ADAAAF
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afa7bf; /* rgb */ color: rgb(175, 167, 191); /* oklch */ color: oklch(74.3% 0.035 300.7);
Tailwind
colors: {
custom: {
50: '#c7c1d2',
500: '#afa7bf',
950: '#000000',
},
}SCSS
$custom: #afa7bf; $custom-light: #c7c1d2; $custom-dark: #000000;
JSON
{
"hex": "#afa7bf",
"rgb": {
"r": 175,
"g": 167,
"b": 191
},
"hsl": {
"h": 260,
"s": 15.789,
"l": 70.196
},
"oklch": {
"l": 0.74276,
"c": 0.03518,
"h": 300.7
},
"luminance": 0.40513
}Semantic roles & 50–950 ramp
primary
#AFA7BF
secondary
#E2E4DE
accent
#9A4B80
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182