#AFA1BA#AFA1BA
#AFA1BA is a light, muted violet. Relative luminance 0.381; OKLCH L 72.9% C 0.039 H 310.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA1BA |
|---|---|
| RGB | rgb(175, 161, 186) |
| HSL | hsl(274, 15%, 68%) |
| HSV | hsv(274, 13%, 73%) |
| CMYK | cmyk(5.9%, 13.4%, 0%, 27.1%) |
| CIE-LAB | lab(68.13, 9.82, -11.02) |
| CIE-LCH | lch(68.13, 14.76, 311.71°) |
| OKLab | oklab(72.9% 0.0251 -0.0296) |
| OKLCH | oklch(72.9% 0.039 310.3) |
| XYZ | xyz(39.2855, 38.1491, 51.7387) |
| Luminance | 0.3815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.72
Thistle
#D8BFD8
ΔE00 9.46
Dusty Lavender
#AC86A8
ΔE00 9.80
Heather
#A484AC
ΔE00 10.04
Lavender
#B39DDB
ΔE00 10.06
Light Mauve
#C292A1
ΔE00 11.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA1BA #ACBAA1
analogous
#A2A1BA #AFA1BA #BAA1B8
triadic
#AFA1BA #BAAFA1 #A1BAAF
tetradic
#AFA1BA #BAA2A1 #ACBAA1 #A1B8BA
square
#AFA1BA #BAA2A1 #ACBAA1 #A1B8BA
split-complementary
#AFA1BA #B8BAA1 #A1BAA2
monochromatic
#725F82 #917EA0 #AFA1BA #CDC4D4 #EBE8EE
Accessibility & contrast
On white
2.43
#AFA1BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#AFA1BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA1BA
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA1BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA1BA | 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)
#9EA5BB
Deuteranopia (green-blind)
#A0A6B9
Tritanopia (blue-blind)
#AEA4A9
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa1ba; /* rgb */ color: rgb(175, 161, 186); /* oklch */ color: oklch(72.9% 0.039 310.3);
Tailwind
colors: {
custom: {
50: '#c7bcce',
500: '#afa1ba',
950: '#000000',
},
}SCSS
$custom: #afa1ba; $custom-light: #c7bcce; $custom-dark: #000000;
JSON
{
"hex": "#afa1ba",
"rgb": {
"r": 175,
"g": 161,
"b": 186
},
"hsl": {
"h": 273.6,
"s": 15.337,
"l": 68.039
},
"oklch": {
"l": 0.72898,
"c": 0.03881,
"h": 310.3
},
"luminance": 0.38149
}Semantic roles & 50–950 ramp
primary
#AFA1BA
secondary
#DBDFD8
accent
#9A4C6E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182