#AB71DC#AB71DC

#AB71DC is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.163 H 307.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB71DC
RGBrgb(171, 113, 220)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 49%, 86%)
CMYKcmyk(22.3%, 48.6%, 0%, 13.7%)
CIE-LABlab(57.69, 42.84, -46.19)
CIE-LCHlch(57.69, 63.00, 312.85°)
OKLaboklab(65.3% 0.0992 -0.1292)
OKLCHoklch(65.3% 0.163 307.5)
XYZxyz(35.6154, 25.6359, 70.7682)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71DC #A2DC71
analogous
#7571DC #AB71DC #DC71D8
triadic
#AB71DC #DCAB71 #71DCAB
tetradic
#AB71DC #DC7571 #A2DC71 #71D8DC
square
#AB71DC #DC7571 #A2DC71 #71D8DC
split-complementary
#AB71DC #D8DC71 #71DC75
monochromatic
#6F2AA9 #8E40D0 #AB71DC #C8A2E8 #E5D3F4

Accessibility & contrast

On white

3.43
#AB71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AB71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71DC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71DC#FFFFFF#000000##000000
##AB71DC1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#648BD9
Tritanopia (blue-blind)
#A4839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab71dc;
/* rgb */ color: rgb(171, 113, 220);
/* oklch */ color: oklch(65.3% 0.163 307.5);
Tailwind
colors: {
  custom: {
    50: '#c69be7',
    500: '#ab71dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab71dc;
$custom-light: #c69be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71dc",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 272.523,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65296,
    "c": 0.16289,
    "h": 307.5
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#AB71DC
secondary
#D3E6C2
accent
#C81D6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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