#AB72BB#AB72BB

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

Color values

HEX#AB72BB
RGBrgb(171, 114, 187)
HSLhsl(287, 35%, 59%)
HSVhsv(287, 39%, 73%)
CMYKcmyk(8.6%, 39%, 0%, 26.7%)
CIE-LABlab(56.37, 35.11, -29.54)
CIE-LCHlch(56.37, 45.88, 319.92°)
OKLaboklab(63.8% 0.0923 -0.0812)
OKLCHoklch(63.8% 0.123 318.7)
XYZxyz(31.7803, 24.2813, 50.0167)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72BB #82BB72
analogous
#8772BB #AB72BB #BB72A7
triadic
#AB72BB #BBAB72 #72BBAB
tetradic
#AB72BB #BB8772 #82BB72 #72A7BB
square
#AB72BB #BB8772 #82BB72 #72A7BB
split-complementary
#AB72BB #A7BB72 #72BB87
monochromatic
#6B3A78 #8F4EA2 #AB72BB #C49BCF #DCC5E3

Accessibility & contrast

On white

3.59
#AB72BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB72BB#FFFFFF#000000##000000
##AB72BB1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BE
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#AB7B8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab72bb;
/* rgb */ color: rgb(171, 114, 187);
/* oklch */ color: oklch(63.8% 0.123 318.7);
Tailwind
colors: {
  custom: {
    50: '#c59bcf',
    500: '#ab72bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab72bb;
$custom-light: #c59bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72bb",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 286.849,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63803,
    "c": 0.12288,
    "h": 318.7
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#AB72BB
secondary
#BCD3B6
accent
#CB5D75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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