#AB77BB#AB77BB

#AB77BB is a light, moderate purple. Relative luminance 0.254; OKLCH L 64.7% C 0.114 H 318.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB77BB
RGBrgb(171, 119, 187)
HSLhsl(286, 33%, 60%)
HSVhsv(286, 36%, 73%)
CMYKcmyk(8.6%, 36.4%, 0%, 26.7%)
CIE-LABlab(57.50, 32.32, -27.79)
CIE-LCHlch(57.50, 42.62, 319.31°)
OKLaboklab(64.66% 0.0847 -0.0762)
OKLCHoklch(64.66% 0.114 318)
XYZxyz(32.3598, 25.4403, 50.2099)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77BB #87BB77
analogous
#8977BB #AB77BB #BB77A9
triadic
#AB77BB #BBAB77 #77BBAB
tetradic
#AB77BB #BB8977 #87BB77 #77A9BB
square
#AB77BB #BB8977 #87BB77 #77A9BB
split-complementary
#AB77BB #A9BB77 #77BB89
monochromatic
#6C3D7A #9052A3 #AB77BB #C4A0CF #DDC9E4

Accessibility & contrast

On white

3.45
#AB77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AB77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77BB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77BB#FFFFFF#000000##000000
##AB77BB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#AB7F90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab77bb;
/* rgb */ color: rgb(171, 119, 187);
/* oklch */ color: oklch(64.7% 0.114 318.0);
Tailwind
colors: {
  custom: {
    50: '#c59fcf',
    500: '#ab77bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab77bb;
$custom-light: #c59fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77bb",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 285.882,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.64658,
    "c": 0.11394,
    "h": 318
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#AB77BB
secondary
#C0D4BA
accent
#C95E78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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