#AB4AA4#AB4AA4

#AB4AA4 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.168 H 330.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB4AA4
RGBrgb(171, 74, 164)
HSLhsl(304, 40%, 48%)
HSVhsv(304, 57%, 67%)
CMYKcmyk(0%, 56.7%, 4.1%, 32.9%)
CIE-LABlab(47.28, 51.56, -30.31)
CIE-LCHlch(47.28, 59.81, 329.56°)
OKLaboklab(56.71% 0.146 -0.083)
OKLCHoklch(56.71% 0.168 330.4)
XYZxyz(25.9440, 16.2375, 36.8824)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AA4 #4AAB51
analogous
#814AAB #AB4AA4 #AB4A73
triadic
#AB4AA4 #A4AB4A #4AA4AB
tetradic
#AB4AA4 #AB814A #4AAB51 #4A73AB
square
#AB4AA4 #AB814A #4AAB51 #4A73AB
split-complementary
#AB4AA4 #73AB4A #4AAB81
monochromatic
#562552 #80387B #AB4AA4 #C171BC #D49BD0

Accessibility & contrast

On white

4.94
#AB4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB4AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AA4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AA4#FFFFFF#000000##FFFFFF
##AB4AA41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A7
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#B15370
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4aa4;
/* rgb */ color: rgb(171, 74, 164);
/* oklch */ color: oklch(56.7% 0.168 330.4);
Tailwind
colors: {
  custom: {
    50: '#c682bf',
    500: '#ab4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4aa4;
$custom-light: #c682bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4aa4",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 304.33,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.16799,
    "h": 330.4
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#AB4AA4
secondary
#90C094
accent
#CF6158
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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