#AFA2B8#AFA2B8
#AFA2B8 is a light, muted violet. Relative luminance 0.384; OKLCH L 73.0% C 0.034 H 311.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2B8 |
|---|---|
| RGB | rgb(175, 162, 184) |
| HSL | hsl(275, 13%, 68%) |
| HSV | hsv(275, 12%, 72%) |
| CMYK | cmyk(4.9%, 12%, 0%, 27.8%) |
| CIE-LAB | lab(68.33, 8.86, -9.61) |
| CIE-LCH | lch(68.33, 13.08, 312.68°) |
| OKLab | oklab(73.03% 0.0229 -0.0258) |
| OKLCH | oklch(73.03% 0.034 311.6) |
| XYZ | xyz(39.2498, 38.4155, 50.6853) |
| Luminance | 0.3841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.49
Thistle
#D8BFD8
ΔE00 9.47
Dusty Lavender
#AC86A8
ΔE00 10.48
Heather
#A484AC
ΔE00 10.84
Lavender
#B39DDB
ΔE00 11.08
Light Mauve
#C292A1
ΔE00 11.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2B8 #ABB8A2
analogous
#A4A2B8 #AFA2B8 #B8A2B6
triadic
#AFA2B8 #B8AFA2 #A2B8AF
tetradic
#AFA2B8 #B8A4A2 #ABB8A2 #A2B6B8
square
#AFA2B8 #B8A4A2 #ABB8A2 #A2B6B8
split-complementary
#AFA2B8 #B6B8A2 #A2B8A4
monochromatic
#73617F #917F9E #AFA2B8 #CDC5D2 #EBE7ED
Accessibility & contrast
On white
2.42
#AFA2B8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#AFA2B8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2B8
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2B8 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FA6B9
Deuteranopia (green-blind)
#A2A7B7
Tritanopia (blue-blind)
#AEA4A9
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2b8; /* rgb */ color: rgb(175, 162, 184); /* oklch */ color: oklch(73.0% 0.034 311.6);
Tailwind
colors: {
custom: {
50: '#c7bdcd',
500: '#afa2b8',
950: '#000000',
},
}SCSS
$custom: #afa2b8; $custom-light: #c7bdcd; $custom-dark: #000000;
JSON
{
"hex": "#afa2b8",
"rgb": {
"r": 175,
"g": 162,
"b": 184
},
"hsl": {
"h": 275.455,
"s": 13.415,
"l": 67.843
},
"oklch": {
"l": 0.7303,
"c": 0.03447,
"h": 311.6
},
"luminance": 0.38415
}Semantic roles & 50–950 ramp
primary
#AFA2B8
secondary
#DADED8
accent
#984E6C
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182