#AB71DB#AB71DB

#AB71DB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.2% C 0.162 H 307.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB71DB
RGBrgb(171, 113, 219)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 48%, 86%)
CMYKcmyk(21.9%, 48.4%, 0%, 14.1%)
CIE-LABlab(57.64, 42.61, -45.71)
CIE-LCHlch(57.64, 62.49, 312.99°)
OKLaboklab(65.24% 0.0991 -0.1278)
OKLCHoklch(65.24% 0.162 307.8)
XYZxyz(35.4834, 25.5831, 70.0728)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71DB #A1DB71
analogous
#7671DB #AB71DB #DB71D6
triadic
#AB71DB #DBAB71 #71DBAB
tetradic
#AB71DB #DB7671 #A1DB71 #71D6DB
square
#AB71DB #DB7671 #A1DB71 #71D6DB
split-complementary
#AB71DB #D6DB71 #71DB76
monochromatic
#6F2AA7 #8E40CF #AB71DB #C8A2E7 #E5D3F4

Accessibility & contrast

On white

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

On black

6.12
#AB71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71DB#FFFFFF#000000##000000
##AB71DB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#A4839C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab71db;
/* rgb */ color: rgb(171, 113, 219);
/* oklch */ color: oklch(65.2% 0.162 307.8);
Tailwind
colors: {
  custom: {
    50: '#c69be6',
    500: '#ab71db',
    950: '#000000',
  },
}
SCSS
$custom: #ab71db;
$custom-light: #c69be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71db",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 272.83,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.16171,
    "h": 307.8
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#AB71DB
secondary
#D2E6C2
accent
#C71E6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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