#AB71DA#AB71DA

#AB71DA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.161 H 308.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB71DA
RGBrgb(171, 113, 218)
HSLhsl(273, 59%, 65%)
HSVhsv(273, 48%, 85%)
CMYKcmyk(21.6%, 48.2%, 0%, 14.5%)
CIE-LABlab(57.59, 42.39, -45.23)
CIE-LCHlch(57.59, 61.98, 313.14°)
OKLaboklab(65.19% 0.099 -0.1264)
OKLCHoklch(65.19% 0.161 308.1)
XYZxyz(35.3521, 25.5306, 69.3816)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71DA #A0DA71
analogous
#7771DA #AB71DA #DA71D4
triadic
#AB71DA #DAAB71 #71DAAB
tetradic
#AB71DA #DA7771 #A0DA71 #71D4DA
square
#AB71DA #DA7771 #A0DA71 #71D4DA
split-complementary
#AB71DA #D4DA71 #71DA77
monochromatic
#6F2BA5 #8E40CD #AB71DA #C8A2E7 #E4D2F3

Accessibility & contrast

On white

3.44
#AB71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AB71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71DA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71DA#FFFFFF#000000##000000
##AB71DA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#A4839B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab71da;
/* rgb */ color: rgb(171, 113, 218);
/* oklch */ color: oklch(65.2% 0.161 308.1);
Tailwind
colors: {
  custom: {
    50: '#c69be6',
    500: '#ab71da',
    950: '#000000',
  },
}
SCSS
$custom: #ab71da;
$custom-light: #c69be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71da",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 273.143,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65188,
    "c": 0.16053,
    "h": 308.1
  },
  "luminance": 0.2553
}

Semantic roles & 50–950 ramp

primary
#AB71DA
secondary
#D2E5C1
accent
#C61F6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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