#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
RGBrgb(171, 151, 188)
HSLhsl(272, 22%, 66%)
HSVhsv(272, 20%, 74%)
CMYKcmyk(9%, 19.7%, 0%, 26.3%)
CIE-LABlab(65.30, 14.46, -16.43)
CIE-LCHlch(65.30, 21.89, 311.35°)
OKLaboklab(70.64% 0.0364 -0.0445)
OKLCHoklch(70.64% 0.057 309.3)
XYZxyz(36.9367, 34.4222, 52.2655)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##AB97BC1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.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

Preview Lab

Preview with #AB97BC

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

Preview Lab → · Contrast checker → · Palette generator →

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