#AFA2BB#AFA2BB
#AFA2BB is a light, muted violet. Relative luminance 0.385; OKLCH L 73.1% C 0.038 H 308.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2BB |
|---|---|
| RGB | rgb(175, 162, 187) |
| HSL | hsl(271, 16%, 68%) |
| HSV | hsv(271, 13%, 73%) |
| CMYK | cmyk(6.4%, 13.4%, 0%, 26.7%) |
| CIE-LAB | lab(68.42, 9.47, -11.14) |
| CIE-LCH | lch(68.42, 14.62, 310.35°) |
| OKLab | oklab(73.13% 0.024 -0.0299) |
| OKLCH | oklch(73.13% 0.038 308.7) |
| XYZ | xyz(39.5676, 38.5426, 52.3591) |
| Luminance | 0.3854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 7.95
Thistle
#D8BFD8
ΔE00 9.39
Lavender
#B39DDB
ΔE00 10.06
Dusty Lavender
#AC86A8
ΔE00 10.20
Heather
#A484AC
ΔE00 10.38
Light Mauve
#C292A1
ΔE00 11.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2BB #AEBBA2
analogous
#A2A2BB #AFA2BB #BBA2BA
triadic
#AFA2BB #BBAFA2 #A2BBAF
tetradic
#AFA2BB #BBA2A2 #AEBBA2 #A2BABB
square
#AFA2BB #BBA2A2 #AEBBA2 #A2BABB
split-complementary
#AFA2BB #BABBA2 #A2BBA2
monochromatic
#726083 #917FA1 #AFA2BB #CDC5D5 #ECE9EF
Accessibility & contrast
On white
2.41
#AFA2BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#AFA2BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2BB
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2BB | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9EA6BC
Deuteranopia (green-blind)
#A1A7BA
Tritanopia (blue-blind)
#AEA5AA
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #afa2bb; /* rgb */ color: rgb(175, 162, 187); /* oklch */ color: oklch(73.1% 0.038 308.7);
Tailwind
colors: {
custom: {
50: '#c7bdcf',
500: '#afa2bb',
950: '#000000',
},
}SCSS
$custom: #afa2bb; $custom-light: #c7bdcf; $custom-dark: #000000;
JSON
{
"hex": "#afa2bb",
"rgb": {
"r": 175,
"g": 162,
"b": 187
},
"hsl": {
"h": 271.2,
"s": 15.528,
"l": 68.431
},
"oklch": {
"l": 0.73133,
"c": 0.03836,
"h": 308.7
},
"luminance": 0.38542
}Semantic roles & 50–950 ramp
primary
#AFA2BB
secondary
#DCE0D9
accent
#9A4C71
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182