#AFA2B2#AFA2B2
#AFA2B2 is a light, muted purple. Relative luminance 0.382; OKLCH L 72.8% C 0.027 H 319.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2B2 |
|---|---|
| RGB | rgb(175, 162, 178) |
| HSL | hsl(289, 9%, 67%) |
| HSV | hsv(289, 9%, 70%) |
| CMYK | cmyk(1.7%, 9%, 0%, 30.2%) |
| CIE-LAB | lab(68.15, 7.69, -6.55) |
| CIE-LCH | lch(68.15, 10.10, 319.58°) |
| OKLab | oklab(72.83% 0.0207 -0.0174) |
| OKLCH | oklch(72.83% 0.027 319.9) |
| XYZ | xyz(38.6342, 38.1693, 47.4430) |
| Luminance | 0.3817 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 9.92
Pinkish Grey
#C8ACA9
ΔE00 9.99
Thistle
#D8BFD8
ΔE00 10.04
Dark Gray
#A9A9A9
ΔE00 10.24
Dove Gray
#B6B8BD
ΔE00 10.46
Light Mauve
#C292A1
ΔE00 10.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2B2 #A5B2A2
analogous
#A7A2B2 #AFA2B2 #B2A2AD
triadic
#AFA2B2 #B2AFA2 #A2B2AF
tetradic
#AFA2B2 #B2A7A2 #A5B2A2 #A2ADB2
square
#AFA2B2 #B2A7A2 #A5B2A2 #A2ADB2
split-complementary
#AFA2B2 #ADB2A2 #A2B2A7
monochromatic
#736377 #928196 #AFA2B2 #CCC3CE #E9E5E9
Accessibility & contrast
On white
2.43
#AFA2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#AFA2B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2B2
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2B2 | 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)
#A1A5B3
Deuteranopia (green-blind)
#A3A7B1
Tritanopia (blue-blind)
#AFA3A7
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa2b2; /* rgb */ color: rgb(175, 162, 178); /* oklch */ color: oklch(72.8% 0.027 319.9);
Tailwind
colors: {
custom: {
50: '#c6bdc9',
500: '#afa2b2',
950: '#000000',
},
}SCSS
$custom: #afa2b2; $custom-light: #c6bdc9; $custom-dark: #000000;
JSON
{
"hex": "#afa2b2",
"rgb": {
"r": 175,
"g": 162,
"b": 178
},
"hsl": {
"h": 288.75,
"s": 9.412,
"l": 66.667
},
"oklch": {
"l": 0.72829,
"c": 0.02705,
"h": 319.9
},
"luminance": 0.38169
}Semantic roles & 50–950 ramp
primary
#AFA2B2
secondary
#D6DAD5
accent
#93525E
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182