#AFA8BA#AFA8BA
#AFA8BA is a light, muted violet. Relative luminance 0.407; OKLCH L 74.3% C 0.027 H 303.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA8BA |
|---|---|
| RGB | rgb(175, 168, 186) |
| HSL | hsl(263, 12%, 69%) |
| HSV | hsv(263, 10%, 73%) |
| CMYK | cmyk(5.9%, 9.7%, 0%, 27.1%) |
| CIE-LAB | lab(69.94, 5.95, -8.32) |
| CIE-LCH | lch(69.94, 10.23, 305.59°) |
| OKLab | oklab(74.31% 0.0147 -0.0223) |
| OKLCH | oklch(74.31% 0.027 303.4) |
| XYZ | xyz(40.5432, 40.6644, 52.1580) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dove Gray
#B6B8BD
ΔE00 8.72
Dark Gray
#A9A9A9
ΔE00 9.58
Thistle
#D8BFD8
ΔE00 9.91
Lilac
#C8A2C8
ΔE00 11.02
Silver
#C0C0C0
ΔE00 11.16
Pinkish Grey
#C8ACA9
ΔE00 11.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA8BA #B3BAA8
analogous
#A8AABA #AFA8BA #B8A8BA
triadic
#AFA8BA #BAAFA8 #A8BAAF
tetradic
#AFA8BA #BAA8AA #B3BAA8 #A8BAB8
square
#AFA8BA #BAA8AA #B3BAA8 #A8BAB8
split-complementary
#AFA8BA #BAB8A8 #AABAA8
monochromatic
#716681 #90869F #AFA8BA #CECAD5 #EEECF0
Accessibility & contrast
On white
2.30
#AFA8BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#AFA8BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA8BA
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA8BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA8BA | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5ABBB
Deuteranopia (green-blind)
#A6ABB9
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afa8ba; /* rgb */ color: rgb(175, 168, 186); /* oklch */ color: oklch(74.3% 0.027 303.4);
Tailwind
colors: {
custom: {
50: '#c6c1ce',
500: '#afa8ba',
950: '#000000',
},
}SCSS
$custom: #afa8ba; $custom-light: #c6c1ce; $custom-dark: #000000;
JSON
{
"hex": "#afa8ba",
"rgb": {
"r": 175,
"g": 168,
"b": 186
},
"hsl": {
"h": 263.333,
"s": 11.538,
"l": 69.412
},
"oklch": {
"l": 0.74309,
"c": 0.02666,
"h": 303.4
},
"luminance": 0.40664
}Semantic roles & 50–950 ramp
primary
#AFA8BA
secondary
#DFE1DC
accent
#96507A
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182