#AB72BF#AB72BF

#AB72BF is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.0% C 0.127 H 317.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB72BF
RGBrgb(171, 114, 191)
HSLhsl(284, 38%, 60%)
HSVhsv(284, 40%, 75%)
CMYKcmyk(10.5%, 40.3%, 0%, 25.1%)
CIE-LABlab(56.54, 35.94, -31.56)
CIE-LCHlch(56.54, 47.83, 318.71°)
OKLaboklab(63.99% 0.0931 -0.0869)
OKLCHoklch(63.99% 0.127 317)
XYZxyz(32.2145, 24.4550, 52.3034)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72BF #86BF72
analogous
#8572BF #AB72BF #BF72AC
triadic
#AB72BF #BFAB72 #72BFAB
tetradic
#AB72BF #BF8572 #86BF72 #72ACBF
square
#AB72BF #BF8572 #86BF72 #72ACBF
split-complementary
#AB72BF #ACBF72 #72BF85
monochromatic
#6C397E #904CA8 #AB72BF #C49CD2 #DDC6E5

Accessibility & contrast

On white

3.56
#AB72BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AB72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72BF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72BF#FFFFFF#000000##000000
##AB72BF1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#AB7C8F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab72bf;
/* rgb */ color: rgb(171, 114, 191);
/* oklch */ color: oklch(64.0% 0.127 317.0);
Tailwind
colors: {
  custom: {
    50: '#c59bd2',
    500: '#ab72bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab72bf;
$custom-light: #c59bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72bf",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 284.416,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.12739,
    "h": 317
  },
  "luminance": 0.24454
}

Semantic roles & 50–950 ramp

primary
#AB72BF
secondary
#BFD5B8
accent
#CE5A78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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