#AB71CE#AB71CE

#AB71CE is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.146 H 311.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB71CE
RGBrgb(171, 113, 206)
HSLhsl(277, 49%, 63%)
HSVhsv(277, 45%, 81%)
CMYKcmyk(17%, 45.1%, 0%, 19.2%)
CIE-LABlab(57.00, 39.71, -39.38)
CIE-LCHlch(57.00, 55.92, 315.24°)
OKLaboklab(64.56% 0.0973 -0.1094)
OKLCHoklch(64.56% 0.146 311.6)
XYZxyz(33.8383, 24.9250, 61.4090)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71CE #94CE71
analogous
#7C71CE #AB71CE #CE71C3
triadic
#AB71CE #CEAB71 #71CEAB
tetradic
#AB71CE #CE7C71 #94CE71 #71C3CE
square
#AB71CE #CE7C71 #94CE71 #71C3CE
split-complementary
#AB71CE #C3CE71 #71CE7C
monochromatic
#6E3292 #9044BE #AB71CE #C69EDE #E1CCED

Accessibility & contrast

On white

3.51
#AB71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AB71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71CE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71CE#FFFFFF#000000##000000
##AB71CE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#A77F96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab71ce;
/* rgb */ color: rgb(171, 113, 206);
/* oklch */ color: oklch(64.6% 0.146 311.6);
Tailwind
colors: {
  custom: {
    50: '#c69bdd',
    500: '#ab71ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ce;
$custom-light: #c69bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ce",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 277.419,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64559,
    "c": 0.14643,
    "h": 311.6
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#AB71CE
secondary
#C9DEBC
accent
#BC2A61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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