#AB72BC#AB72BC

#AB72BC is a light, vivid purple. Relative luminance 0.243; OKLCH L 63.8% C 0.124 H 318.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB72BC
RGBrgb(171, 114, 188)
HSLhsl(286, 36%, 59%)
HSVhsv(286, 39%, 74%)
CMYKcmyk(9%, 39.4%, 0%, 26.3%)
CIE-LABlab(56.41, 35.31, -30.05)
CIE-LCHlch(56.41, 46.37, 319.60°)
OKLaboklab(63.85% 0.0925 -0.0826)
OKLCHoklch(63.85% 0.124 318.2)
XYZxyz(31.8878, 24.3243, 50.5825)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72BC #83BC72
analogous
#8672BC #AB72BC #BC72A8
triadic
#AB72BC #BCAB72 #72BCAB
tetradic
#AB72BC #BC8672 #83BC72 #72A8BC
square
#AB72BC #BC8672 #83BC72 #72A8BC
split-complementary
#AB72BC #A8BC72 #72BC86
monochromatic
#6B3A7A #904EA3 #AB72BC #C49BD0 #DCC5E3

Accessibility & contrast

On white

3.58
#AB72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AB72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72BC#FFFFFF#000000##000000
##AB72BC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#7689BA
Tritanopia (blue-blind)
#AB7B8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab72bc;
/* rgb */ color: rgb(171, 114, 188);
/* oklch */ color: oklch(63.8% 0.124 318.2);
Tailwind
colors: {
  custom: {
    50: '#c59bd0',
    500: '#ab72bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab72bc;
$custom-light: #c59bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72bc",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 286.216,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.124,
    "h": 318.2
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#AB72BC
secondary
#BDD3B6
accent
#CC5C76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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