#AB3BA4#AB3BA4

#AB3BA4 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.190 H 330.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA4
RGBrgb(171, 59, 164)
HSLhsl(304, 49%, 45%)
HSVhsv(304, 65%, 67%)
CMYKcmyk(0%, 65.5%, 4.1%, 32.9%)
CIE-LABlab(44.90, 58.13, -34.05)
CIE-LCHlch(44.90, 67.37, 329.64°)
OKLaboklab(54.97% 0.1649 -0.0937)
OKLCHoklch(54.97% 0.19 330.4)
XYZxyz(25.0593, 14.4680, 36.5875)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA4 #3BAB42
analogous
#7A3BAB #AB3BA4 #AB3B6C
triadic
#AB3BA4 #A4AB3B #3BA4AB
tetradic
#AB3BA4 #AB7A3B #3BAB42 #3B6CAB
square
#AB3BA4 #AB7A3B #3BAB42 #3B6CAB
split-complementary
#AB3BA4 #6CAB3B #3BAB7A
monochromatic
#501C4D #7D2B78 #AB3BA4 #C75CC0 #D78AD2

Accessibility & contrast

On white

5.39
#AB3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB3BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA4#FFFFFF#000000##FFFFFF
##AB3BA41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3ba4;
/* rgb */ color: rgb(171, 59, 164);
/* oklch */ color: oklch(55.0% 0.190 330.4);
Tailwind
colors: {
  custom: {
    50: '#c77abf',
    500: '#ab3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba4;
$custom-light: #c77abf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba4",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 303.75,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.18961,
    "h": 330.4
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#AB3BA4
secondary
#81C185
accent
#D85850
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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