#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
RGBrgb(171, 151, 191)
HSLhsl(270, 24%, 67%)
HSVhsv(270, 21%, 75%)
CMYKcmyk(10.5%, 20.9%, 0%, 25.1%)
CIE-LABlab(65.40, 15.09, -17.95)
CIE-LCHlch(65.40, 23.45, 310.05°)
OKLaboklab(70.75% 0.0374 -0.0487)
OKLCHoklch(70.75% 0.061 307.5)
XYZxyz(37.2635, 34.5529, 53.9864)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##AB97BF1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.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

Preview Lab

Preview with #AB97BF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB97BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva