#AB71BB#AB71BB

#AB71BB is a light, vivid purple. Relative luminance 0.241; OKLCH L 63.6% C 0.125 H 318.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB71BB
RGBrgb(171, 113, 187)
HSLhsl(287, 35%, 59%)
HSVhsv(287, 40%, 73%)
CMYKcmyk(8.6%, 39.6%, 0%, 26.7%)
CIE-LABlab(56.14, 35.66, -29.89)
CIE-LCHlch(56.14, 46.53, 320.03°)
OKLaboklab(63.63% 0.0938 -0.0821)
OKLCHoklch(63.63% 0.125 318.8)
XYZxyz(31.6682, 24.0570, 49.9793)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71BB #81BB71
analogous
#8671BB #AB71BB #BB71A6
triadic
#AB71BB #BBAB71 #71BBAB
tetradic
#AB71BB #BB8671 #81BB71 #71A6BB
square
#AB71BB #BB8671 #81BB71 #71A6BB
split-complementary
#AB71BB #A6BB71 #71BB86
monochromatic
#6B3A78 #8F4DA1 #AB71BB #C39ACF #DCC4E3

Accessibility & contrast

On white

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

On black

5.81
#AB71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71BB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71BB#FFFFFF#000000##000000
##AB71BB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#7589B9
Tritanopia (blue-blind)
#AB7A8D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab71bb;
/* rgb */ color: rgb(171, 113, 187);
/* oklch */ color: oklch(63.6% 0.125 318.8);
Tailwind
colors: {
  custom: {
    50: '#c59bcf',
    500: '#ab71bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab71bb;
$custom-light: #c59bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71bb",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 287.027,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63634,
    "c": 0.12465,
    "h": 318.8
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#AB71BB
secondary
#BCD2B5
accent
#CB5D74
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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