#AB3AA4#AB3AA4

#AB3AA4 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.191 H 330.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB3AA4
RGBrgb(171, 58, 164)
HSLhsl(304, 49%, 45%)
HSVhsv(304, 66%, 67%)
CMYKcmyk(0%, 66.1%, 4.1%, 32.9%)
CIE-LABlab(44.75, 58.53, -34.28)
CIE-LCHlch(44.75, 67.82, 329.64°)
OKLaboklab(54.86% 0.166 -0.0943)
OKLCHoklch(54.86% 0.191 330.4)
XYZxyz(25.0084, 14.3662, 36.5705)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AA4 #3AAB41
analogous
#7A3AAB #AB3AA4 #AB3A6B
triadic
#AB3AA4 #A4AB3A #3AA4AB
tetradic
#AB3AA4 #AB7A3A #3AAB41 #3A6BAB
square
#AB3AA4 #AB7A3A #3AAB41 #3A6BAB
split-complementary
#AB3AA4 #6BAB3A #3AAB7A
monochromatic
#501B4C #7D2A78 #AB3AA4 #C75BC1 #D789D2

Accessibility & contrast

On white

5.42
#AB3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB3AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AA4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AA4#FFFFFF#000000##FFFFFF
##AB3AA41.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#5A6FA1
Tritanopia (blue-blind)
#B1476A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3aa4;
/* rgb */ color: rgb(171, 58, 164);
/* oklch */ color: oklch(54.9% 0.191 330.4);
Tailwind
colors: {
  custom: {
    50: '#c779bf',
    500: '#ab3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aa4;
$custom-light: #c779bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aa4",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 303.717,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.19093,
    "h": 330.4
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#AB3AA4
secondary
#80C184
accent
#D9574F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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