#AB76BC#AB76BC

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

Color values

HEX#AB76BC
RGBrgb(171, 118, 188)
HSLhsl(285, 34%, 60%)
HSVhsv(285, 37%, 74%)
CMYKcmyk(9%, 37.2%, 0%, 26.3%)
CIE-LABlab(57.31, 33.08, -28.65)
CIE-LCHlch(57.31, 43.76, 319.11°)
OKLaboklab(64.53% 0.0865 -0.0786)
OKLCHoklch(64.53% 0.117 317.7)
XYZxyz(32.3488, 25.2465, 50.7362)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76BC #87BC76
analogous
#8876BC #AB76BC #BC76AA
triadic
#AB76BC #BCAB76 #76BCAB
tetradic
#AB76BC #BC8876 #87BC76 #76AABC
square
#AB76BC #BC8876 #87BC76 #76AABC
split-complementary
#AB76BC #AABC76 #76BC88
monochromatic
#6C3C7B #9050A4 #AB76BC #C49FD0 #DDC8E4

Accessibility & contrast

On white

3.47
#AB76BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AB76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76BC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76BC#FFFFFF#000000##000000
##AB76BC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BF
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#AB7F90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab76bc;
/* rgb */ color: rgb(171, 118, 188);
/* oklch */ color: oklch(64.5% 0.117 317.7);
Tailwind
colors: {
  custom: {
    50: '#c59ed0',
    500: '#ab76bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab76bc;
$custom-light: #c59ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76bc",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 285.429,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.11687,
    "h": 317.7
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

primary
#AB76BC
secondary
#C0D4B9
accent
#CA5D78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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