#AFA2BA#AFA2BA
#AFA2BA is a light, muted violet. Relative luminance 0.385; OKLCH L 73.1% C 0.037 H 309.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2BA |
|---|---|
| RGB | rgb(175, 162, 186) |
| HSL | hsl(273, 15%, 68%) |
| HSV | hsv(273, 13%, 73%) |
| CMYK | cmyk(5.9%, 12.9%, 0%, 27.1%) |
| CIE-LAB | lab(68.39, 9.26, -10.63) |
| CIE-LCH | lch(68.39, 14.10, 311.07°) |
| OKLab | oklab(73.1% 0.0236 -0.0285) |
| OKLCH | oklch(73.1% 0.037 309.6) |
| XYZ | xyz(39.4609, 38.5000, 51.7972) |
| Luminance | 0.3850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 8.12
Thistle
#D8BFD8
ΔE00 9.40
Dusty Lavender
#AC86A8
ΔE00 10.28
Lavender
#B39DDB
ΔE00 10.40
Heather
#A484AC
ΔE00 10.52
Light Mauve
#C292A1
ΔE00 11.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2BA #ADBAA2
analogous
#A3A2BA #AFA2BA #BAA2B9
triadic
#AFA2BA #BAAFA2 #A2BAAF
tetradic
#AFA2BA #BAA3A2 #ADBAA2 #A2B9BA
square
#AFA2BA #BAA3A2 #ADBAA2 #A2B9BA
split-complementary
#AFA2BA #B9BAA2 #A2BAA3
monochromatic
#726082 #917FA0 #AFA2BA #CDC5D4 #EBE8EE
Accessibility & contrast
On white
2.41
#AFA2BA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#AFA2BA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2BA
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2BA | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FA6BB
Deuteranopia (green-blind)
#A1A7B9
Tritanopia (blue-blind)
#AEA5AA
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2ba; /* rgb */ color: rgb(175, 162, 186); /* oklch */ color: oklch(73.1% 0.037 309.6);
Tailwind
colors: {
custom: {
50: '#c7bdce',
500: '#afa2ba',
950: '#000000',
},
}SCSS
$custom: #afa2ba; $custom-light: #c7bdce; $custom-dark: #000000;
JSON
{
"hex": "#afa2ba",
"rgb": {
"r": 175,
"g": 162,
"b": 186
},
"hsl": {
"h": 272.5,
"s": 14.815,
"l": 68.235
},
"oklch": {
"l": 0.73098,
"c": 0.03705,
"h": 309.6
},
"luminance": 0.385
}Semantic roles & 50–950 ramp
primary
#AFA2BA
secondary
#DCE0D8
accent
#994C70
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182