#AFA4BA#AFA4BA
#AFA4BA is a light, muted violet. Relative luminance 0.392; OKLCH L 73.5% C 0.034 H 308.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA4BA |
|---|---|
| RGB | rgb(175, 164, 186) |
| HSL | hsl(270, 14%, 69%) |
| HSV | hsv(270, 12%, 73%) |
| CMYK | cmyk(5.9%, 11.8%, 0%, 27.1%) |
| CIE-LAB | lab(68.90, 8.16, -9.86) |
| CIE-LCH | lch(68.90, 12.80, 309.60°) |
| OKLab | oklab(73.5% 0.0206 -0.0264) |
| OKLCH | oklch(73.5% 0.034 308) |
| XYZ | xyz(39.8160, 39.2102, 51.9156) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.99
Thistle
#D8BFD8
ΔE00 9.40
Dove Gray
#B6B8BD
ΔE00 11.06
Lavender
#B39DDB
ΔE00 11.12
Dusty Lavender
#AC86A8
ΔE00 11.28
Heather
#A484AC
ΔE00 11.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA4BA #AFBAA4
analogous
#A4A4BA #AFA4BA #BAA4BA
triadic
#AFA4BA #BAAFA4 #A4BAAF
tetradic
#AFA4BA #BAA4A4 #AFBAA4 #A4BABA
square
#AFA4BA #BAA4A4 #AFBAA4 #A4BABA
split-complementary
#AFA4BA #BABAA4 #A4BAA4
monochromatic
#726281 #9081A0 #AFA4BA #CEC7D4 #ECEAEF
Accessibility & contrast
On white
2.38
#AFA4BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#AFA4BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA4BA
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA4BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA4BA | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1A8BB
Deuteranopia (green-blind)
#A3A8B9
Tritanopia (blue-blind)
#AEA7AB
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afa4ba; /* rgb */ color: rgb(175, 164, 186); /* oklch */ color: oklch(73.5% 0.034 308.0);
Tailwind
colors: {
custom: {
50: '#c7bfce',
500: '#afa4ba',
950: '#000000',
},
}SCSS
$custom: #afa4ba; $custom-light: #c7bfce; $custom-dark: #000000;
JSON
{
"hex": "#afa4ba",
"rgb": {
"r": 175,
"g": 164,
"b": 186
},
"hsl": {
"h": 270,
"s": 13.75,
"l": 68.627
},
"oklch": {
"l": 0.735,
"c": 0.03354,
"h": 308
},
"luminance": 0.3921
}Semantic roles & 50–950 ramp
primary
#AFA4BA
secondary
#DDE0DA
accent
#984E73
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182