#AFA5BA#AFA5BA
#AFA5BA is a light, muted violet. Relative luminance 0.396; OKLCH L 73.7% C 0.032 H 307.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA5BA |
|---|---|
| RGB | rgb(175, 165, 186) |
| HSL | hsl(269, 13%, 69%) |
| HSV | hsv(269, 11%, 73%) |
| CMYK | cmyk(5.9%, 11.3%, 0%, 27.1%) |
| CIE-LAB | lab(69.16, 7.60, -9.48) |
| CIE-LCH | lch(69.16, 12.15, 308.75°) |
| OKLab | oklab(73.7% 0.0191 -0.0254) |
| OKLCH | oklch(73.7% 0.032 307) |
| XYZ | xyz(39.9957, 39.5695, 51.9755) |
| Luminance | 0.3957 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 9.47
Lilac
#C8A2C8
ΔE00 9.47
Dove Gray
#B6B8BD
ΔE00 10.50
Dark Gray
#A9A9A9
ΔE00 11.11
Lavender
#B39DDB
ΔE00 11.52
Pinkish Grey
#C8ACA9
ΔE00 11.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA5BA #B0BAA5
analogous
#A5A6BA #AFA5BA #BAA5BA
triadic
#AFA5BA #BAAFA5 #A5BAAF
tetradic
#AFA5BA #BAA5A6 #B0BAA5 #A5BABA
square
#AFA5BA #BAA5A6 #B0BAA5 #A5BABA
split-complementary
#AFA5BA #BABAA5 #A6BAA5
monochromatic
#726381 #90829F #AFA5BA #CEC8D5 #EDEAEF
Accessibility & contrast
On white
2.36
#AFA5BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#AFA5BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA5BA
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA5BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA5BA | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2A8BB
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#AEA8AC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa5ba; /* rgb */ color: rgb(175, 165, 186); /* oklch */ color: oklch(73.7% 0.032 307.0);
Tailwind
colors: {
custom: {
50: '#c7bfce',
500: '#afa5ba',
950: '#000000',
},
}SCSS
$custom: #afa5ba; $custom-light: #c7bfce; $custom-dark: #000000;
JSON
{
"hex": "#afa5ba",
"rgb": {
"r": 175,
"g": 165,
"b": 186
},
"hsl": {
"h": 268.571,
"s": 13.208,
"l": 68.824
},
"oklch": {
"l": 0.73702,
"c": 0.0318,
"h": 307
},
"luminance": 0.39569
}Semantic roles & 50–950 ramp
primary
#AFA5BA
secondary
#DEE1DA
accent
#974E74
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182