#AB71DD#AB71DD

#AB71DD is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.164 H 307.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB71DD
RGBrgb(171, 113, 221)
HSLhsl(272, 61%, 65%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(22.6%, 48.9%, 0%, 13.3%)
CIE-LABlab(57.74, 43.07, -46.67)
CIE-LCHlch(57.74, 63.51, 312.70°)
OKLaboklab(65.35% 0.0993 -0.1306)
OKLCHoklch(65.35% 0.164 307.2)
XYZxyz(35.7482, 25.6890, 71.4678)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71DD #A3DD71
analogous
#7571DD #AB71DD #DD71D9
triadic
#AB71DD #DDAB71 #71DDAB
tetradic
#AB71DD #DD7571 #A3DD71 #71D9DD
square
#AB71DD #DD7571 #A3DD71 #71D9DD
split-complementary
#AB71DD #D9DD71 #71DD75
monochromatic
#6F29AB #8E40D1 #AB71DD #C8A2E9 #E5D4F5

Accessibility & contrast

On white

3.42
#AB71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AB71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71DD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71DD#FFFFFF#000000##000000
##AB71DD1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#648BDA
Tritanopia (blue-blind)
#A4839D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab71dd;
/* rgb */ color: rgb(171, 113, 221);
/* oklch */ color: oklch(65.3% 0.164 307.2);
Tailwind
colors: {
  custom: {
    50: '#c69be8',
    500: '#ab71dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab71dd;
$custom-light: #c69be8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71dd",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 272.222,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6535,
    "c": 0.16407,
    "h": 307.2
  },
  "luminance": 0.25689
}

Semantic roles & 50–950 ramp

primary
#AB71DD
secondary
#D4E7C3
accent
#C91C6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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