#AFA2BF#AFA2BF
#AFA2BF is a light, muted violet. Relative luminance 0.387; OKLCH L 73.3% C 0.044 H 305.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2BF |
|---|---|
| RGB | rgb(175, 162, 191) |
| HSL | hsl(267, 18%, 69%) |
| HSV | hsv(267, 15%, 75%) |
| CMYK | cmyk(8.4%, 15.2%, 0%, 25.1%) |
| CIE-LAB | lab(68.55, 10.28, -13.17) |
| CIE-LCH | lch(68.55, 16.71, 307.98°) |
| OKLab | oklab(73.27% 0.0254 -0.0355) |
| OKLCH | oklch(73.27% 0.044 305.6) |
| XYZ | xyz(40.0018, 38.7163, 54.6457) |
| Luminance | 0.3872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.44
Lavender
#B39DDB
ΔE00 8.74
Thistle
#D8BFD8
ΔE00 9.46
Heather
#A484AC
ΔE00 9.95
Dusty Lavender
#AC86A8
ΔE00 10.02
Pale Purple
#B790D4
ΔE00 10.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2BF #B2BFA2
analogous
#A2A4BF #AFA2BF #BEA2BF
triadic
#AFA2BF #BFAFA2 #A2BFAF
tetradic
#AFA2BF #BFA2A4 #B2BFA2 #A2BFBE
square
#AFA2BF #BFA2A4 #B2BFA2 #A2BFBE
split-complementary
#AFA2BF #BFBEA2 #A4BFA2
monochromatic
#715E89 #907EA6 #AFA2BF #CEC6D8 #EDEBF1
Accessibility & contrast
On white
2.40
#AFA2BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#AFA2BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2BF
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2BF | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DA7C0
Deuteranopia (green-blind)
#A0A7BE
Tritanopia (blue-blind)
#ADA6AC
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2bf; /* rgb */ color: rgb(175, 162, 191); /* oklch */ color: oklch(73.3% 0.044 305.6);
Tailwind
colors: {
custom: {
50: '#c7bdd2',
500: '#afa2bf',
950: '#000000',
},
}SCSS
$custom: #afa2bf; $custom-light: #c7bdd2; $custom-dark: #000000;
JSON
{
"hex": "#afa2bf",
"rgb": {
"r": 175,
"g": 162,
"b": 191
},
"hsl": {
"h": 266.897,
"s": 18.471,
"l": 69.216
},
"oklch": {
"l": 0.73273,
"c": 0.04366,
"h": 305.6
},
"luminance": 0.38716
}Semantic roles & 50–950 ramp
primary
#AFA2BF
secondary
#DFE3DA
accent
#9D4977
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182