#AB71BC#AB71BC

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

Color values

HEX#AB71BC
RGBrgb(171, 113, 188)
HSLhsl(286, 36%, 59%)
HSVhsv(286, 40%, 74%)
CMYKcmyk(9%, 39.9%, 0%, 26.3%)
CIE-LABlab(56.19, 35.87, -30.40)
CIE-LCHlch(56.19, 47.02, 319.72°)
OKLaboklab(63.68% 0.094 -0.0836)
OKLCHoklch(63.68% 0.126 318.3)
XYZxyz(31.7756, 24.0999, 50.5451)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71BC #82BC71
analogous
#8671BC #AB71BC #BC71A8
triadic
#AB71BC #BCAB71 #71BCAB
tetradic
#AB71BC #BC8671 #82BC71 #71A8BC
square
#AB71BC #BC8671 #82BC71 #71A8BC
split-complementary
#AB71BC #A8BC71 #71BC86
monochromatic
#6B3979 #8F4DA3 #AB71BC #C49BD0 #DCC4E3

Accessibility & contrast

On white

3.61
#AB71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AB71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71BC#FFFFFF#000000##000000
##AB71BC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#AB7A8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab71bc;
/* rgb */ color: rgb(171, 113, 188);
/* oklch */ color: oklch(63.7% 0.126 318.3);
Tailwind
colors: {
  custom: {
    50: '#c59bd0',
    500: '#ab71bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab71bc;
$custom-light: #c59bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71bc",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 286.4,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.12577,
    "h": 318.3
  },
  "luminance": 0.24099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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