#AFA5BB#AFA5BB
#AFA5BB is a light, muted violet. Relative luminance 0.396; OKLCH L 73.7% C 0.033 H 306.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA5BB |
|---|---|
| RGB | rgb(175, 165, 187) |
| HSL | hsl(267, 14%, 69%) |
| HSV | hsv(267, 12%, 73%) |
| CMYK | cmyk(6.4%, 11.8%, 0%, 26.7%) |
| CIE-LAB | lab(69.19, 7.81, -9.98) |
| CIE-LCH | lch(69.19, 12.67, 308.02°) |
| OKLab | oklab(73.74% 0.0195 -0.0268) |
| OKLCH | oklch(73.74% 0.033 306.1) |
| XYZ | xyz(40.1024, 39.6122, 52.5373) |
| Luminance | 0.3961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 9.27
Thistle
#D8BFD8
ΔE00 9.41
Dove Gray
#B6B8BD
ΔE00 10.75
Lavender
#B39DDB
ΔE00 11.17
Dark Gray
#A9A9A9
ΔE00 11.42
Dusty Lavender
#AC86A8
ΔE00 11.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA5BB #B1BBA5
analogous
#A5A6BB #AFA5BB #BAA5BB
triadic
#AFA5BB #BBAFA5 #A5BBAF
tetradic
#AFA5BB #BBA5A6 #B1BBA5 #A5BBBA
square
#AFA5BB #BBA5A6 #B1BBA5 #A5BBBA
split-complementary
#AFA5BB #BBBAA5 #A6BBA5
monochromatic
#716383 #9082A1 #AFA5BB #CEC8D5 #EDEBF0
Accessibility & contrast
On white
2.35
#AFA5BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#AFA5BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA5BB
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA5BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA5BB | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2A9BC
Deuteranopia (green-blind)
#A3A9BA
Tritanopia (blue-blind)
#ADA8AC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa5bb; /* rgb */ color: rgb(175, 165, 187); /* oklch */ color: oklch(73.7% 0.033 306.1);
Tailwind
colors: {
custom: {
50: '#c7bfcf',
500: '#afa5bb',
950: '#000000',
},
}SCSS
$custom: #afa5bb; $custom-light: #c7bfcf; $custom-dark: #000000;
JSON
{
"hex": "#afa5bb",
"rgb": {
"r": 175,
"g": 165,
"b": 187
},
"hsl": {
"h": 267.273,
"s": 13.924,
"l": 69.02
},
"oklch": {
"l": 0.73736,
"c": 0.03314,
"h": 306.1
},
"luminance": 0.39612
}Semantic roles & 50–950 ramp
primary
#AFA5BB
secondary
#DEE1DB
accent
#984D76
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182