#AB97BB#AB97BB

#AB97BB is a light, muted violet. Relative luminance 0.344; OKLCH L 70.6% C 0.056 H 309.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AB97BB
RGBrgb(171, 151, 187)
HSLhsl(273, 21%, 66%)
HSVhsv(273, 19%, 73%)
CMYKcmyk(8.6%, 19.3%, 0%, 26.7%)
CIE-LABlab(65.26, 14.25, -15.92)
CIE-LCHlch(65.26, 21.37, 311.83°)
OKLaboklab(70.6% 0.0361 -0.0431)
OKLCHoklch(70.6% 0.056 309.9)
XYZxyz(36.8293, 34.3792, 51.6997)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97BB #A7BB97
analogous
#9997BB #AB97BB #BB97B9
triadic
#AB97BB #BBAB97 #97BBAB
tetradic
#AB97BB #BB9997 #A7BB97 #97B9BB
square
#AB97BB #BB9997 #A7BB97 #97B9BB
split-complementary
#AB97BB #B9BB97 #97BB99
monochromatic
#6E5582 #8D72A3 #AB97BB #C9BCD3 #E7E1EB

Accessibility & contrast

On white

2.67
#AB97BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AB97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97BB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97BB#FFFFFF#000000##000000
##AB97BB1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#929DBD
Deuteranopia (green-blind)
#959FBA
Tritanopia (blue-blind)
#A99BA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab97bb;
/* rgb */ color: rgb(171, 151, 187);
/* oklch */ color: oklch(70.6% 0.056 309.9);
Tailwind
colors: {
  custom: {
    50: '#c4b5cf',
    500: '#ab97bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab97bb;
$custom-light: #c4b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97bb",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 273.333,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.706,
    "c": 0.05617,
    "h": 309.9
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

primary
#AB97BB
secondary
#D6DDD1
accent
#9F466E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #AB97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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