#AB3AA9#AB3AA9

#AB3AA9 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.195 H 328.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB3AA9
RGBrgb(171, 58, 169)
HSLhsl(301, 49%, 45%)
HSVhsv(301, 66%, 67%)
CMYKcmyk(0%, 66.1%, 1.2%, 32.9%)
CIE-LABlab(45.01, 59.37, -36.84)
CIE-LCHlch(45.01, 69.87, 328.18°)
OKLaboklab(55.13% 0.1663 -0.1017)
OKLCHoklch(55.13% 0.195 328.6)
XYZxyz(25.4688, 14.5504, 38.9955)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AA9 #3AAB3C
analogous
#753AAB #AB3AA9 #AB3A70
triadic
#AB3AA9 #A9AB3A #3AA9AB
tetradic
#AB3AA9 #AB753A #3AAB3C #3A70AB
square
#AB3AA9 #AB753A #3AAB3C #3A70AB
split-complementary
#AB3AA9 #70AB3A #3AAB75
monochromatic
#501B4F #7D2A7C #AB3AA9 #C75BC5 #D789D5

Accessibility & contrast

On white

5.37
#AB3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB3AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AA9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AA9#FFFFFF#000000##FFFFFF
##AB3AA91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#B1496D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3aa9;
/* rgb */ color: rgb(171, 58, 169);
/* oklch */ color: oklch(55.1% 0.195 328.6);
Tailwind
colors: {
  custom: {
    50: '#c779c3',
    500: '#ab3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aa9;
$custom-light: #c779c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aa9",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 301.062,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.19496,
    "h": 328.6
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#AB3AA9
secondary
#80C181
accent
#D9514F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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