#AB71C8#AB71C8

#AB71C8 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.3% C 0.139 H 313.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB71C8
RGBrgb(171, 113, 200)
HSLhsl(280, 44%, 61%)
HSVhsv(280, 44%, 78%)
CMYKcmyk(14.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(56.72, 38.40, -36.41)
CIE-LCHlch(56.72, 52.92, 316.53°)
OKLaboklab(64.26% 0.0963 -0.1009)
OKLCHoklch(64.26% 0.139 313.7)
XYZxyz(33.1233, 24.6390, 57.6433)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71C8 #8EC871
analogous
#8071C8 #AB71C8 #C871BA
triadic
#AB71C8 #C8AB71 #71C8AB
tetradic
#AB71C8 #C88071 #8EC871 #71BAC8
square
#AB71C8 #C88071 #8EC871 #71BAC8
split-complementary
#AB71C8 #BAC871 #71C880
monochromatic
#6D3589 #9046B6 #AB71C8 #C59DD9 #DFC9EA

Accessibility & contrast

On white

3.54
#AB71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AB71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71C8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71C8#FFFFFF#000000##000000
##AB71C81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#6F8AC6
Tritanopia (blue-blind)
#A97E93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab71c8;
/* rgb */ color: rgb(171, 113, 200);
/* oklch */ color: oklch(64.3% 0.139 313.7);
Tailwind
colors: {
  custom: {
    50: '#c59bd9',
    500: '#ab71c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab71c8;
$custom-light: #c59bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71c8",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 280,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.13946,
    "h": 313.7
  },
  "luminance": 0.24638
}

Semantic roles & 50–950 ramp

primary
#AB71C8
secondary
#C5DBBA
accent
#B72E5C
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AB71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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