#AFA2B1#AFA2B1
#AFA2B1 is a light, muted purple. Relative luminance 0.381; OKLCH L 72.8% C 0.026 H 321.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2B1 |
|---|---|
| RGB | rgb(175, 162, 177) |
| HSL | hsl(292, 9%, 66%) |
| HSV | hsv(292, 8%, 69%) |
| CMYK | cmyk(1.1%, 8.5%, 0%, 30.6%) |
| CIE-LAB | lab(68.12, 7.49, -6.03) |
| CIE-LCH | lch(68.12, 9.62, 321.16°) |
| OKLab | oklab(72.8% 0.0203 -0.016) |
| OKLCH | oklch(72.8% 0.026 321.7) |
| XYZ | xyz(38.5341, 38.1292, 46.9161) |
| Luminance | 0.3813 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Grey
#C8ACA9
ΔE00 9.71
Dark Gray
#A9A9A9
ΔE00 9.94
Thistle
#D8BFD8
ΔE00 10.18
Lilac
#C8A2C8
ΔE00 10.20
Dove Gray
#B6B8BD
ΔE00 10.26
Light Mauve
#C292A1
ΔE00 10.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2B1 #A4B1A2
analogous
#A8A2B1 #AFA2B1 #B1A2AC
triadic
#AFA2B1 #B1AFA2 #A2B1AF
tetradic
#AFA2B1 #B1A8A2 #A4B1A2 #A2ACB1
square
#AFA2B1 #B1A8A2 #A4B1A2 #A2ACB1
split-complementary
#AFA2B1 #ACB1A2 #A2B1A8
monochromatic
#736376 #928195 #AFA2B1 #CCC3CD #E8E5E9
Accessibility & contrast
On white
2.43
#AFA2B1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#AFA2B1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2B1
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2B1 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1A5B2
Deuteranopia (green-blind)
#A3A7B0
Tritanopia (blue-blind)
#B0A3A7
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa2b1; /* rgb */ color: rgb(175, 162, 177); /* oklch */ color: oklch(72.8% 0.026 321.7);
Tailwind
colors: {
custom: {
50: '#c6bdc8',
500: '#afa2b1',
950: '#000000',
},
}SCSS
$custom: #afa2b1; $custom-light: #c6bdc8; $custom-dark: #000000;
JSON
{
"hex": "#afa2b1",
"rgb": {
"r": 175,
"g": 162,
"b": 177
},
"hsl": {
"h": 292,
"s": 8.772,
"l": 66.471
},
"oklch": {
"l": 0.72797,
"c": 0.02588,
"h": 321.7
},
"luminance": 0.38129
}Semantic roles & 50–950 ramp
primary
#AFA2B1
secondary
#D6DAD5
accent
#93535B
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182