#AB71BE#AB71BE

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

Color values

HEX#AB71BE
RGBrgb(171, 113, 190)
HSLhsl(285, 37%, 59%)
HSVhsv(285, 41%, 75%)
CMYKcmyk(10%, 40.5%, 0%, 25.5%)
CIE-LABlab(56.27, 36.28, -31.41)
CIE-LCHlch(56.27, 47.99, 319.12°)
OKLaboklab(63.77% 0.0944 -0.0865)
OKLCHoklch(63.77% 0.128 317.5)
XYZxyz(31.9927, 24.1868, 51.6884)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71BE #84BE71
analogous
#8571BE #AB71BE #BE71AB
triadic
#AB71BE #BEAB71 #71BEAB
tetradic
#AB71BE #BE8571 #84BE71 #71ABBE
square
#AB71BE #BE8571 #84BE71 #71ABBE
split-complementary
#AB71BE #ABBE71 #71BE85
monochromatic
#6B397C #904CA6 #AB71BE #C49BD1 #DDC5E4

Accessibility & contrast

On white

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

On black

5.84
#AB71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71BE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71BE#FFFFFF#000000##000000
##AB71BE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C1
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#AB7B8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab71be;
/* rgb */ color: rgb(171, 113, 190);
/* oklch */ color: oklch(63.8% 0.128 317.5);
Tailwind
colors: {
  custom: {
    50: '#c59bd2',
    500: '#ab71be',
    950: '#000000',
  },
}
SCSS
$custom: #ab71be;
$custom-light: #c59bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71be",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 285.195,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63774,
    "c": 0.12802,
    "h": 317.5
  },
  "luminance": 0.24186
}

Semantic roles & 50–950 ramp

primary
#AB71BE
secondary
#BED4B6
accent
#CD5B77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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