#AB97BC#AB97BC
#AB97BC is a light, muted violet. Relative luminance 0.344; OKLCH L 70.6% C 0.057 H 309.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AB97BC |
|---|---|
| RGB | rgb(171, 151, 188) |
| HSL | hsl(272, 22%, 66%) |
| HSV | hsv(272, 20%, 74%) |
| CMYK | cmyk(9%, 19.7%, 0%, 26.3%) |
| CIE-LAB | lab(65.30, 14.46, -16.43) |
| CIE-LCH | lch(65.30, 21.89, 311.35°) |
| OKLab | oklab(70.64% 0.0364 -0.0445) |
| OKLCH | oklch(70.64% 0.057 309.3) |
| XYZ | xyz(36.9367, 34.4222, 52.2655) |
| Luminance | 0.3442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.13
Lilac
#C8A2C8
ΔE00 6.58
Dusty Lavender
#AC86A8
ΔE00 6.74
Lavender
#B39DDB
ΔE00 6.95
Pale Purple
#B790D4
ΔE00 7.67
Purpley Grey
#947E94
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB97BC #A8BC97
analogous
#9997BC #AB97BC #BC97BB
triadic
#AB97BC #BCAB97 #97BCAB
tetradic
#AB97BC #BC9997 #A8BC97 #97BBBC
square
#AB97BC #BC9997 #A8BC97 #97BBBC
split-complementary
#AB97BC #BBBC97 #97BC99
monochromatic
#6E5584 #8D72A4 #AB97BC #C9BCD4 #E7E1EC
Accessibility & contrast
On white
2.66
#AB97BC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#AB97BC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB97BC
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB97BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB97BC | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919EBE
Deuteranopia (green-blind)
#959FBB
Tritanopia (blue-blind)
#A99CA3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ab97bc; /* rgb */ color: rgb(171, 151, 188); /* oklch */ color: oklch(70.6% 0.057 309.3);
Tailwind
colors: {
custom: {
50: '#c4b5d0',
500: '#ab97bc',
950: '#000000',
},
}SCSS
$custom: #ab97bc; $custom-light: #c4b5d0; $custom-dark: #000000;
JSON
{
"hex": "#ab97bc",
"rgb": {
"r": 171,
"g": 151,
"b": 188
},
"hsl": {
"h": 272.432,
"s": 21.637,
"l": 66.471
},
"oklch": {
"l": 0.70637,
"c": 0.05747,
"h": 309.3
},
"luminance": 0.34422
}Semantic roles & 50–950 ramp
primary
#AB97BC
secondary
#D7DDD1
accent
#A0456F
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121114
muted
#818082