#AB71D1#AB71D1

#AB71D1 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.7% C 0.150 H 310.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB71D1
RGBrgb(171, 113, 209)
HSLhsl(276, 51%, 63%)
HSVhsv(276, 46%, 82%)
CMYKcmyk(18.2%, 45.9%, 0%, 18%)
CIE-LABlab(57.15, 40.37, -40.85)
CIE-LCHlch(57.15, 57.43, 314.66°)
OKLaboklab(64.71% 0.0978 -0.1137)
OKLCHoklch(64.71% 0.15 310.7)
XYZxyz(34.2063, 25.0722, 63.3467)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71D1 #97D171
analogous
#7B71D1 #AB71D1 #D171C7
triadic
#AB71D1 #D1AB71 #71D1AB
tetradic
#AB71D1 #D17B71 #97D171 #71C7D1
square
#AB71D1 #D17B71 #97D171 #71C7D1
split-complementary
#AB71D1 #C7D171 #71D17B
monochromatic
#6E3197 #9043C2 #AB71D1 #C69FE0 #E2CDEF

Accessibility & contrast

On white

3.49
#AB71D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AB71D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71D1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71D1#FFFFFF#000000##000000
##AB71D11.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D4
Deuteranopia (green-blind)
#6B8ACE
Tritanopia (blue-blind)
#A78097
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab71d1;
/* rgb */ color: rgb(171, 113, 209);
/* oklch */ color: oklch(64.7% 0.150 310.7);
Tailwind
colors: {
  custom: {
    50: '#c69bdf',
    500: '#ab71d1',
    950: '#000000',
  },
}
SCSS
$custom: #ab71d1;
$custom-light: #c69bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71d1",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 276.25,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64713,
    "c": 0.14994,
    "h": 310.7
  },
  "luminance": 0.25072
}

Semantic roles & 50–950 ramp

primary
#AB71D1
secondary
#CBE0BE
accent
#BE2763
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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