#AFA2B3#AFA2B3
#AFA2B3 is a light, muted purple. Relative luminance 0.382; OKLCH L 72.9% C 0.028 H 318.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2B3 |
|---|---|
| RGB | rgb(175, 162, 179) |
| HSL | hsl(286, 10%, 67%) |
| HSV | hsv(286, 9%, 70%) |
| CMYK | cmyk(2.2%, 9.5%, 0%, 29.8%) |
| CIE-LAB | lab(68.17, 7.88, -7.06) |
| CIE-LCH | lch(68.17, 10.58, 318.15°) |
| OKLab | oklab(72.86% 0.0211 -0.0188) |
| OKLCH | oklch(72.86% 0.028 318.2) |
| XYZ | xyz(38.7349, 38.2096, 47.9737) |
| Luminance | 0.3821 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 9.65
Thistle
#D8BFD8
ΔE00 9.90
Pinkish Grey
#C8ACA9
ΔE00 10.28
Dark Gray
#A9A9A9
ΔE00 10.54
Dove Gray
#B6B8BD
ΔE00 10.66
Light Mauve
#C292A1
ΔE00 10.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2B3 #A6B3A2
analogous
#A7A2B3 #AFA2B3 #B3A2AF
triadic
#AFA2B3 #B3AFA2 #A2B3AF
tetradic
#AFA2B3 #B3A7A2 #A6B3A2 #A2AFB3
square
#AFA2B3 #B3A7A2 #A6B3A2 #A2AFB3
split-complementary
#AFA2B3 #AFB3A2 #A2B3A7
monochromatic
#736278 #928097 #AFA2B3 #CCC4CF #E9E5EA
Accessibility & contrast
On white
2.43
#AFA2B3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#AFA2B3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2B3
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2B3 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0A5B4
Deuteranopia (green-blind)
#A3A7B2
Tritanopia (blue-blind)
#AFA4A7
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa2b3; /* rgb */ color: rgb(175, 162, 179); /* oklch */ color: oklch(72.9% 0.028 318.2);
Tailwind
colors: {
custom: {
50: '#c6bdc9',
500: '#afa2b3',
950: '#000000',
},
}SCSS
$custom: #afa2b3; $custom-light: #c6bdc9; $custom-dark: #000000;
JSON
{
"hex": "#afa2b3",
"rgb": {
"r": 175,
"g": 162,
"b": 179
},
"hsl": {
"h": 285.882,
"s": 10.059,
"l": 66.863
},
"oklch": {
"l": 0.72862,
"c": 0.02824,
"h": 318.2
},
"luminance": 0.38209
}Semantic roles & 50–950 ramp
primary
#AFA2B3
secondary
#D7DBD6
accent
#945161
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182