#AB71BD#AB71BD

#AB71BD is a light, vivid purple. Relative luminance 0.241; OKLCH L 63.7% C 0.127 H 317.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB71BD
RGBrgb(171, 113, 189)
HSLhsl(286, 37%, 59%)
HSVhsv(286, 40%, 74%)
CMYKcmyk(9.5%, 40.2%, 0%, 25.9%)
CIE-LABlab(56.23, 36.07, -30.90)
CIE-LCHlch(56.23, 47.50, 319.41°)
OKLaboklab(63.73% 0.0942 -0.085)
OKLCHoklch(63.73% 0.127 317.9)
XYZxyz(31.8837, 24.1432, 51.1148)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71BD #83BD71
analogous
#8571BD #AB71BD #BD71A9
triadic
#AB71BD #BDAB71 #71BDAB
tetradic
#AB71BD #BD8571 #83BD71 #71A9BD
square
#AB71BD #BD8571 #83BD71 #71A9BD
split-complementary
#AB71BD #A9BD71 #71BD85
monochromatic
#6B397B #904CA4 #AB71BD #C49BD0 #DCC5E4

Accessibility & contrast

On white

3.60
#AB71BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AB71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71BD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71BD#FFFFFF#000000##000000
##AB71BD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#7489BB
Tritanopia (blue-blind)
#AB7B8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab71bd;
/* rgb */ color: rgb(171, 113, 189);
/* oklch */ color: oklch(63.7% 0.127 317.9);
Tailwind
colors: {
  custom: {
    50: '#c59bd1',
    500: '#ab71bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab71bd;
$custom-light: #c59bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71bd",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 285.789,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63728,
    "c": 0.12689,
    "h": 317.9
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#AB71BD
secondary
#BDD4B6
accent
#CD5B76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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