#AFA2B9#AFA2B9
#AFA2B9 is a light, muted violet. Relative luminance 0.385; OKLCH L 73.1% C 0.036 H 310.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2B9 |
|---|---|
| RGB | rgb(175, 162, 185) |
| HSL | hsl(274, 14%, 68%) |
| HSV | hsv(274, 12%, 73%) |
| CMYK | cmyk(5.4%, 12.4%, 0%, 27.5%) |
| CIE-LAB | lab(68.36, 9.06, -10.12) |
| CIE-LCH | lch(68.36, 13.59, 311.84°) |
| OKLab | oklab(73.06% 0.0233 -0.0271) |
| OKLCH | oklch(73.06% 0.036 310.6) |
| XYZ | xyz(39.3550, 38.4576, 51.2393) |
| Luminance | 0.3846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.30
Thistle
#D8BFD8
ΔE00 9.43
Dusty Lavender
#AC86A8
ΔE00 10.37
Heather
#A484AC
ΔE00 10.67
Lavender
#B39DDB
ΔE00 10.74
Light Mauve
#C292A1
ΔE00 11.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2B9 #ACB9A2
analogous
#A3A2B9 #AFA2B9 #B9A2B7
triadic
#AFA2B9 #B9AFA2 #A2B9AF
tetradic
#AFA2B9 #B9A3A2 #ACB9A2 #A2B7B9
square
#AFA2B9 #B9A3A2 #ACB9A2 #A2B7B9
split-complementary
#AFA2B9 #B7B9A2 #A2B9A3
monochromatic
#726080 #917F9F #AFA2B9 #CDC5D3 #EBE8EE
Accessibility & contrast
On white
2.42
#AFA2B9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#AFA2B9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2B9
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2B9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2B9 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FA6BA
Deuteranopia (green-blind)
#A1A7B8
Tritanopia (blue-blind)
#AEA5A9
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2b9; /* rgb */ color: rgb(175, 162, 185); /* oklch */ color: oklch(73.1% 0.036 310.6);
Tailwind
colors: {
custom: {
50: '#c7bdce',
500: '#afa2b9',
950: '#000000',
},
}SCSS
$custom: #afa2b9; $custom-light: #c7bdce; $custom-dark: #000000;
JSON
{
"hex": "#afa2b9",
"rgb": {
"r": 175,
"g": 162,
"b": 185
},
"hsl": {
"h": 273.913,
"s": 14.11,
"l": 68.039
},
"oklch": {
"l": 0.73064,
"c": 0.03576,
"h": 310.6
},
"luminance": 0.38457
}Semantic roles & 50–950 ramp
primary
#AFA2B9
secondary
#DBDFD8
accent
#984D6E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182