#AFA1BF#AFA1BF
#AFA1BF is a light, muted violet. Relative luminance 0.384; OKLCH L 73.1% C 0.045 H 306.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA1BF |
|---|---|
| RGB | rgb(175, 161, 191) |
| HSL | hsl(268, 19%, 69%) |
| HSV | hsv(268, 16%, 75%) |
| CMYK | cmyk(8.4%, 15.7%, 0%, 25.1%) |
| CIE-LAB | lab(68.29, 10.84, -13.56) |
| CIE-LCH | lch(68.29, 17.35, 308.64°) |
| OKLab | oklab(73.07% 0.0269 -0.0366) |
| OKLCH | oklch(73.07% 0.045 306.4) |
| XYZ | xyz(39.8263, 38.3654, 54.5873) |
| Luminance | 0.3836 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.11
Lavender
#B39DDB
ΔE00 8.42
Heather
#A484AC
ΔE00 9.52
Thistle
#D8BFD8
ΔE00 9.57
Dusty Lavender
#AC86A8
ΔE00 9.60
Pale Purple
#B790D4
ΔE00 10.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA1BF #B1BFA1
analogous
#A1A2BF #AFA1BF #BEA1BF
triadic
#AFA1BF #BFAFA1 #A1BFAF
tetradic
#AFA1BF #BFA1A2 #B1BFA1 #A1BFBE
square
#AFA1BF #BFA1A2 #B1BFA1 #A1BFBE
split-complementary
#AFA1BF #BFBEA1 #A2BFA1
monochromatic
#715D89 #907DA6 #AFA1BF #CEC5D8 #EDEAF1
Accessibility & contrast
On white
2.42
#AFA1BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#AFA1BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA1BF
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA1BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA1BF | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA6C0
Deuteranopia (green-blind)
#9FA7BE
Tritanopia (blue-blind)
#ADA5AB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa1bf; /* rgb */ color: rgb(175, 161, 191); /* oklch */ color: oklch(73.1% 0.045 306.4);
Tailwind
colors: {
custom: {
50: '#c7bcd2',
500: '#afa1bf',
950: '#000000',
},
}SCSS
$custom: #afa1bf; $custom-light: #c7bcd2; $custom-dark: #000000;
JSON
{
"hex": "#afa1bf",
"rgb": {
"r": 175,
"g": 161,
"b": 191
},
"hsl": {
"h": 268,
"s": 18.987,
"l": 69.02
},
"oklch": {
"l": 0.73074,
"c": 0.0454,
"h": 306.4
},
"luminance": 0.38365
}Semantic roles & 50–950 ramp
primary
#AFA1BF
secondary
#DEE2DA
accent
#9D4876
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182