#AB71BF#AB71BF

#AB71BF is a light, vivid purple. Relative luminance 0.242; OKLCH L 63.8% C 0.129 H 317.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB71BF
RGBrgb(171, 113, 191)
HSLhsl(285, 38%, 60%)
HSVhsv(285, 41%, 75%)
CMYKcmyk(10.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(56.32, 36.49, -31.91)
CIE-LCHlch(56.32, 48.48, 318.83°)
OKLaboklab(63.82% 0.0946 -0.0879)
OKLCHoklch(63.82% 0.129 317.1)
XYZxyz(32.1023, 24.2306, 52.2660)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71BF #85BF71
analogous
#8471BF #AB71BF #BF71AC
triadic
#AB71BF #BFAB71 #71BFAB
tetradic
#AB71BF #BF8471 #85BF71 #71ACBF
square
#AB71BF #BF8471 #85BF71 #71ACBF
split-complementary
#AB71BF #ACBF71 #71BF84
monochromatic
#6C387D #904BA7 #AB71BF #C49BD2 #DDC5E5

Accessibility & contrast

On white

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

On black

5.85
#AB71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71BF#FFFFFF#000000##000000
##AB71BF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C2
Deuteranopia (green-blind)
#7389BD
Tritanopia (blue-blind)
#AB7B8F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab71bf;
/* rgb */ color: rgb(171, 113, 191);
/* oklch */ color: oklch(63.8% 0.129 317.1);
Tailwind
colors: {
  custom: {
    50: '#c59bd2',
    500: '#ab71bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab71bf;
$custom-light: #c59bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71bf",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 284.615,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.12915,
    "h": 317.1
  },
  "luminance": 0.2423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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