#AFA1BB#AFA1BB
#AFA1BB is a light, muted violet. Relative luminance 0.382; OKLCH L 72.9% C 0.040 H 309.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA1BB |
|---|---|
| RGB | rgb(175, 161, 187) |
| HSL | hsl(272, 16%, 68%) |
| HSV | hsv(272, 14%, 73%) |
| CMYK | cmyk(6.4%, 13.9%, 0%, 26.7%) |
| CIE-LAB | lab(68.16, 10.02, -11.53) |
| CIE-LCH | lch(68.16, 15.27, 311.01°) |
| OKLab | oklab(72.93% 0.0255 -0.031) |
| OKLCH | oklch(72.93% 0.04 309.4) |
| XYZ | xyz(39.3922, 38.1917, 52.3006) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.56
Thistle
#D8BFD8
ΔE00 9.46
Lavender
#B39DDB
ΔE00 9.72
Dusty Lavender
#AC86A8
ΔE00 9.74
Heather
#A484AC
ΔE00 9.91
Light Mauve
#C292A1
ΔE00 11.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA1BB #ADBBA1
analogous
#A2A1BB #AFA1BB #BBA1BA
triadic
#AFA1BB #BBAFA1 #A1BBAF
tetradic
#AFA1BB #BBA2A1 #ADBBA1 #A1BABB
square
#AFA1BB #BBA2A1 #ADBBA1 #A1BABB
split-complementary
#AFA1BB #BABBA1 #A1BBA2
monochromatic
#725F83 #917DA1 #AFA1BB #CDC5D5 #EBE8EE
Accessibility & contrast
On white
2.43
#AFA1BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#AFA1BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA1BB
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA1BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA1BB | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DA5BC
Deuteranopia (green-blind)
#A0A6BA
Tritanopia (blue-blind)
#AEA4AA
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa1bb; /* rgb */ color: rgb(175, 161, 187); /* oklch */ color: oklch(72.9% 0.040 309.4);
Tailwind
colors: {
custom: {
50: '#c7bccf',
500: '#afa1bb',
950: '#000000',
},
}SCSS
$custom: #afa1bb; $custom-light: #c7bccf; $custom-dark: #000000;
JSON
{
"hex": "#afa1bb",
"rgb": {
"r": 175,
"g": 161,
"b": 187
},
"hsl": {
"h": 272.308,
"s": 16.049,
"l": 68.235
},
"oklch": {
"l": 0.72933,
"c": 0.04012,
"h": 309.4
},
"luminance": 0.38192
}Semantic roles & 50–950 ramp
primary
#AFA1BB
secondary
#DCE0D8
accent
#9A4B70
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182