#AB76BB#AB76BB

#AB76BB is a light, moderate purple. Relative luminance 0.252; OKLCH L 64.5% C 0.116 H 318.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB76BB
RGBrgb(171, 118, 187)
HSLhsl(286, 34%, 60%)
HSVhsv(286, 37%, 73%)
CMYKcmyk(8.6%, 36.9%, 0%, 26.7%)
CIE-LABlab(57.27, 32.88, -28.14)
CIE-LCHlch(57.27, 43.28, 319.44°)
OKLaboklab(64.49% 0.0862 -0.0772)
OKLCHoklch(64.49% 0.116 318.2)
XYZxyz(32.2414, 25.2035, 50.1704)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76BB #86BB76
analogous
#8976BB #AB76BB #BB76A9
triadic
#AB76BB #BBAB76 #76BBAB
tetradic
#AB76BB #BB8976 #86BB76 #76A9BB
square
#AB76BB #BB8976 #86BB76 #76A9BB
split-complementary
#AB76BB #A9BB76 #76BB89
monochromatic
#6C3D7A #9051A3 #AB76BB #C49FCF #DDC8E4

Accessibility & contrast

On white

3.48
#AB76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AB76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76BB#FFFFFF#000000##000000
##AB76BB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#AB7E90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab76bb;
/* rgb */ color: rgb(171, 118, 187);
/* oklch */ color: oklch(64.5% 0.116 318.2);
Tailwind
colors: {
  custom: {
    50: '#c59ecf',
    500: '#ab76bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab76bb;
$custom-light: #c59ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76bb",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 286.087,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.11573,
    "h": 318.2
  },
  "luminance": 0.25203
}

Semantic roles & 50–950 ramp

primary
#AB76BB
secondary
#BFD4B9
accent
#CA5E77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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