#AB4DAE#AB4DAE

#AB4DAE is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.172 H 326.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4DAE
RGBrgb(171, 77, 174)
HSLhsl(298, 39%, 49%)
HSVhsv(298, 56%, 68%)
CMYKcmyk(1.7%, 55.7%, 0%, 31.8%)
CIE-LABlab(48.29, 51.93, -34.62)
CIE-LCHlch(48.29, 62.42, 326.31°)
OKLaboklab(57.6% 0.1433 -0.0955)
OKLCHoklch(57.6% 0.172 326.3)
XYZxyz(27.0879, 17.0232, 41.8952)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DAE #50AE4D
analogous
#7B4DAE #AB4DAE #AE4D81
triadic
#AB4DAE #AEAB4D #4DAEAB
tetradic
#AB4DAE #AE7B4D #50AE4D #4D81AE
square
#AB4DAE #AE7B4D #50AE4D #4D81AE
split-complementary
#AB4DAE #81AE4D #4DAE7B
monochromatic
#582759 #813A84 #AB4DAE #C076C2 #D3A0D5

Accessibility & contrast

On white

4.77
#AB4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB4DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DAE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DAE#FFFFFF#000000##FFFFFF
##AB4DAE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#AF5976
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4dae;
/* rgb */ color: rgb(171, 77, 174);
/* oklch */ color: oklch(57.6% 0.172 326.3);
Tailwind
colors: {
  custom: {
    50: '#c684c6',
    500: '#ab4dae',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dae;
$custom-light: #c684c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dae",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 298.144,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.17218,
    "h": 326.3
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#AB4DAE
secondary
#96C295
accent
#CF595D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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