#AB97BF#AB97BF
#AB97BF is a light, moderate violet. Relative luminance 0.346; OKLCH L 70.8% C 0.061 H 307.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AB97BF |
|---|---|
| RGB | rgb(171, 151, 191) |
| HSL | hsl(270, 24%, 67%) |
| HSV | hsv(270, 21%, 75%) |
| CMYK | cmyk(10.5%, 20.9%, 0%, 25.1%) |
| CIE-LAB | lab(65.40, 15.09, -17.95) |
| CIE-LCH | lch(65.40, 23.45, 310.05°) |
| OKLab | oklab(70.75% 0.0374 -0.0487) |
| OKLCH | oklch(70.75% 0.061 307.5) |
| XYZ | xyz(37.2635, 34.5529, 53.9864) |
| Luminance | 0.3455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.11
Heather
#A484AC
ΔE00 6.22
Lilac
#C8A2C8
ΔE00 6.71
Pale Purple
#B790D4
ΔE00 6.92
Dusty Lavender
#AC86A8
ΔE00 7.09
Wisteria
#A87DC2
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB97BF #ABBF97
analogous
#9797BF #AB97BF #BF97BF
triadic
#AB97BF #BFAB97 #97BFAB
tetradic
#AB97BF #BF9797 #ABBF97 #97BFBF
square
#AB97BF #BF9797 #ABBF97 #97BFBF
split-complementary
#AB97BF #BFBF97 #97BF97
monochromatic
#6E5488 #8C71A8 #AB97BF #CABDD6 #E8E3EE
Accessibility & contrast
On white
2.65
#AB97BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#AB97BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB97BF
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB97BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB97BF | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#949FBE
Tritanopia (blue-blind)
#A99CA5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ab97bf; /* rgb */ color: rgb(171, 151, 191); /* oklch */ color: oklch(70.8% 0.061 307.5);
Tailwind
colors: {
custom: {
50: '#c4b5d2',
500: '#ab97bf',
950: '#000000',
},
}SCSS
$custom: #ab97bf; $custom-light: #c4b5d2; $custom-dark: #000000;
JSON
{
"hex": "#ab97bf",
"rgb": {
"r": 171,
"g": 151,
"b": 191
},
"hsl": {
"h": 270,
"s": 23.81,
"l": 67.059
},
"oklch": {
"l": 0.70751,
"c": 0.06141,
"h": 307.5
},
"luminance": 0.34553
}Semantic roles & 50–950 ramp
primary
#AB97BF
secondary
#D9DFD3
accent
#A24373
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121114
muted
#818082