#AB3AA1#AB3AA1

#AB3AA1 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.189 H 331.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB3AA1
RGBrgb(171, 58, 161)
HSLhsl(305, 49%, 45%)
HSVhsv(305, 66%, 67%)
CMYKcmyk(0%, 66.1%, 5.8%, 32.9%)
CIE-LABlab(44.60, 58.03, -32.73)
CIE-LCHlch(44.60, 66.62, 330.58°)
OKLaboklab(54.7% 0.1658 -0.0898)
OKLCHoklch(54.7% 0.189 331.5)
XYZxyz(24.7406, 14.2591, 35.1605)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AA1 #3AAB44
analogous
#7D3AAB #AB3AA1 #AB3A68
triadic
#AB3AA1 #A1AB3A #3AA1AB
tetradic
#AB3AA1 #AB7D3A #3AAB44 #3A68AB
square
#AB3AA1 #AB7D3A #3AAB44 #3A68AB
split-complementary
#AB3AA1 #68AB3A #3AAB7D
monochromatic
#501B4B #7D2A76 #AB3AA1 #C75BBE #D789D0

Accessibility & contrast

On white

5.45
#AB3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB3AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AA1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AA1#FFFFFF#000000##FFFFFF
##AB3AA11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#B24568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3aa1;
/* rgb */ color: rgb(171, 58, 161);
/* oklch */ color: oklch(54.7% 0.189 331.5);
Tailwind
colors: {
  custom: {
    50: '#c779bd',
    500: '#ab3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aa1;
$custom-light: #c779bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aa1",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 305.31,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.18854,
    "h": 331.5
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#AB3AA1
secondary
#80C186
accent
#D95B4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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