#AB71A2#AB71A2

#AB71A2 is a light, moderate purple. Relative luminance 0.231; OKLCH L 62.6% C 0.099 H 332.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB71A2
RGBrgb(171, 113, 162)
HSLhsl(309, 26%, 56%)
HSVhsv(309, 34%, 67%)
CMYKcmyk(0%, 33.9%, 5.3%, 32.9%)
CIE-LABlab(55.15, 30.77, -17.00)
CIE-LCHlch(55.15, 35.15, 331.07°)
OKLaboklab(62.56% 0.0873 -0.0458)
OKLCHoklch(62.56% 0.099 332.3)
XYZxyz(29.2209, 23.0781, 37.0907)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71A2 #71AB7A
analogous
#9771AB #AB71A2 #AB7185
triadic
#AB71A2 #A2AB71 #71A2AB
tetradic
#AB71A2 #AB9771 #71AB7A #7185AB
square
#AB71A2 #AB9771 #71AB7A #7185AB
split-complementary
#AB71A2 #85AB71 #71AB97
monochromatic
#663C5F #8C5383 #AB71A2 #C297BB #D8BED4

Accessibility & contrast

On white

3.74
#AB71A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AB71A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71A2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71A2#FFFFFF#000000##000000
##AB71A21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#7E87A0
Tritanopia (blue-blind)
#B07483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab71a2;
/* rgb */ color: rgb(171, 113, 162);
/* oklch */ color: oklch(62.6% 0.099 332.3);
Tailwind
colors: {
  custom: {
    50: '#c59bbd',
    500: '#ab71a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab71a2;
$custom-light: #c59bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71a2",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 309.31,
    "s": 25.664,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.09858,
    "h": 332.3
  },
  "luminance": 0.23077
}

Semantic roles & 50–950 ramp

primary
#AB71A2
secondary
#B0C8B4
accent
#C27466
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AB71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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