#AFA4BF#AFA4BF
#AFA4BF is a light, muted violet. Relative luminance 0.394; OKLCH L 73.7% C 0.040 H 303.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA4BF |
|---|---|
| RGB | rgb(175, 164, 191) |
| HSL | hsl(264, 17%, 70%) |
| HSV | hsv(264, 14%, 75%) |
| CMYK | cmyk(8.4%, 14.1%, 0%, 25.1%) |
| CIE-LAB | lab(69.06, 9.17, -12.40) |
| CIE-LCH | lch(69.06, 15.42, 306.49°) |
| OKLab | oklab(73.67% 0.0224 -0.0334) |
| OKLCH | oklch(73.67% 0.04 303.9) |
| XYZ | xyz(40.3569, 39.4265, 54.7641) |
| Luminance | 0.3943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.21
Thistle
#D8BFD8
ΔE00 9.32
Lavender
#B39DDB
ΔE00 9.43
Heather
#A484AC
ΔE00 10.87
Dusty Lavender
#AC86A8
ΔE00 10.91
Pale Purple
#B790D4
ΔE00 11.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA4BF #B4BFA4
analogous
#A4A7BF #AFA4BF #BCA4BF
triadic
#AFA4BF #BFAFA4 #A4BFAF
tetradic
#AFA4BF #BFA4A7 #B4BFA4 #A4BFBC
square
#AFA4BF #BFA4A7 #B4BFA4 #A4BFBC
split-complementary
#AFA4BF #BFBCA4 #A7BFA4
monochromatic
#716089 #8F80A6 #AFA4BF #CFC8D8 #EEECF2
Accessibility & contrast
On white
2.36
#AFA4BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#AFA4BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA4BF
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA4BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA4BF | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0A8C0
Deuteranopia (green-blind)
#A1A9BE
Tritanopia (blue-blind)
#ADA7AD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa4bf; /* rgb */ color: rgb(175, 164, 191); /* oklch */ color: oklch(73.7% 0.040 303.9);
Tailwind
colors: {
custom: {
50: '#c7bfd2',
500: '#afa4bf',
950: '#000000',
},
}SCSS
$custom: #afa4bf; $custom-light: #c7bfd2; $custom-dark: #000000;
JSON
{
"hex": "#afa4bf",
"rgb": {
"r": 175,
"g": 164,
"b": 191
},
"hsl": {
"h": 264.444,
"s": 17.419,
"l": 69.608
},
"oklch": {
"l": 0.73673,
"c": 0.04023,
"h": 303.9
},
"luminance": 0.39426
}Semantic roles & 50–950 ramp
primary
#AFA4BF
secondary
#E0E3DC
accent
#9C4A7A
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182