#AB4BB9#AB4BB9

#AB4BB9 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.185 H 322.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB9
RGBrgb(171, 75, 185)
HSLhsl(292, 44%, 51%)
HSVhsv(292, 59%, 73%)
CMYKcmyk(7.6%, 59.5%, 0%, 27.5%)
CIE-LABlab(48.50, 54.92, -40.72)
CIE-LCHlch(48.50, 68.37, 323.45°)
OKLaboklab(57.94% 0.1468 -0.1131)
OKLCHoklch(57.94% 0.185 322.4)
XYZxyz(28.0667, 17.1943, 47.7300)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB9 #59B94B
analogous
#744BB9 #AB4BB9 #B94B90
triadic
#AB4BB9 #B9AB4B #4BB9AB
tetradic
#AB4BB9 #B9744B #59B94B #4B90B9
square
#AB4BB9 #B9744B #59B94B #4B90B9
split-complementary
#AB4BB9 #90B94B #4BB974
monochromatic
#5B2763 #84388F #AB4BB9 #C077CA #D4A3DB

Accessibility & contrast

On white

4.73
#AB4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB4BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB9#FFFFFF#000000##FFFFFF
##AB4BB91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBC
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#AD5B7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4bb9;
/* rgb */ color: rgb(171, 75, 185);
/* oklch */ color: oklch(57.9% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#c783ce',
    500: '#ab4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb9;
$custom-light: #c783ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb9",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 292.364,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.18533,
    "h": 322.4
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#AB4BB9
secondary
#9EC898
accent
#D45464
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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