#AB71CA#AB71CA

#AB71CA is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.142 H 313.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB71CA
RGBrgb(171, 113, 202)
HSLhsl(279, 46%, 62%)
HSVhsv(279, 44%, 79%)
CMYKcmyk(15.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(56.81, 38.83, -37.40)
CIE-LCHlch(56.81, 53.92, 316.08°)
OKLaboklab(64.36% 0.0966 -0.1037)
OKLCHoklch(64.36% 0.142 313)
XYZxyz(33.3586, 24.7332, 58.8823)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71CA #90CA71
analogous
#7F71CA #AB71CA #CA71BD
triadic
#AB71CA #CAAB71 #71CAAB
tetradic
#AB71CA #CA7F71 #90CA71 #71BDCA
square
#AB71CA #CA7F71 #90CA71 #71BDCA
split-complementary
#AB71CA #BDCA71 #71CA7F
monochromatic
#6E348C #9045B9 #AB71CA #C59EDB #E0CAEB

Accessibility & contrast

On white

3.53
#AB71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AB71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71CA#FFFFFF#000000##000000
##AB71CA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#A87E94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab71ca;
/* rgb */ color: rgb(171, 113, 202);
/* oklch */ color: oklch(64.4% 0.142 313.0);
Tailwind
colors: {
  custom: {
    50: '#c59bda',
    500: '#ab71ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ca;
$custom-light: #c59bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ca",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 279.101,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.14177,
    "h": 313
  },
  "luminance": 0.24732
}

Semantic roles & 50–950 ramp

primary
#AB71CA
secondary
#C6DCBB
accent
#B92D5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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