#AB72BD#AB72BD

#AB72BD is a light, vivid purple. Relative luminance 0.244; OKLCH L 63.9% C 0.125 H 317.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB72BD
RGBrgb(171, 114, 189)
HSLhsl(286, 36%, 59%)
HSVhsv(286, 40%, 74%)
CMYKcmyk(9.5%, 39.7%, 0%, 25.9%)
CIE-LABlab(56.45, 35.52, -30.56)
CIE-LCHlch(56.45, 46.85, 319.30°)
OKLaboklab(63.9% 0.0927 -0.0841)
OKLCHoklch(63.9% 0.125 317.8)
XYZxyz(31.9959, 24.3676, 51.1522)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72BD #84BD72
analogous
#8672BD #AB72BD #BD72AA
triadic
#AB72BD #BDAB72 #72BDAB
tetradic
#AB72BD #BD8672 #84BD72 #72AABD
square
#AB72BD #BD8672 #84BD72 #72AABD
split-complementary
#AB72BD #AABD72 #72BD86
monochromatic
#6B3A7B #904DA5 #AB72BD #C49CD1 #DDC5E4

Accessibility & contrast

On white

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

On black

5.87
#AB72BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72BD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72BD#FFFFFF#000000##000000
##AB72BD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#7589BB
Tritanopia (blue-blind)
#AB7B8F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab72bd;
/* rgb */ color: rgb(171, 114, 189);
/* oklch */ color: oklch(63.9% 0.125 317.8);
Tailwind
colors: {
  custom: {
    50: '#c59bd1',
    500: '#ab72bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab72bd;
$custom-light: #c59bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72bd",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 285.6,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.12512,
    "h": 317.8
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#AB72BD
secondary
#BED4B7
accent
#CC5C77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB72BD

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

Preview Lab → · Contrast checker → · Palette generator →

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