#AB32BB#AB32BB

#AB32BB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.219 H 322.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB32BB
RGBrgb(171, 50, 187)
HSLhsl(293, 58%, 46%)
HSVhsv(293, 73%, 73%)
CMYKcmyk(8.6%, 73.3%, 0%, 26.7%)
CIE-LABlab(44.98, 65.44, -47.49)
CIE-LCHlch(44.98, 80.86, 324.03°)
OKLaboklab(55.44% 0.1745 -0.1326)
OKLCHoklch(55.44% 0.219 322.8)
XYZxyz(26.9039, 14.5286, 48.3913)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32BB #42BB32
analogous
#6732BB #AB32BB #BB3287
triadic
#AB32BB #BBAB32 #32BBAB
tetradic
#AB32BB #BB6732 #42BB32 #3287BB
square
#AB32BB #BB6732 #42BB32 #3287BB
split-complementary
#AB32BB #87BB32 #32BB67
monochromatic
#53185A #7F258B #AB32BB #C458D2 #D588DF

Accessibility & contrast

On white

5.38
#AB32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB32BB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32BB#FFFFFF#000000##FFFFFF
##AB32BB1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#AD4B74
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab32bb;
/* rgb */ color: rgb(171, 50, 187);
/* oklch */ color: oklch(55.4% 0.219 322.8);
Tailwind
colors: {
  custom: {
    50: '#c876d0',
    500: '#ab32bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab32bb;
$custom-light: #c876d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32bb",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 292.993,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.21915,
    "h": 322.8
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#AB32BB
secondary
#88C980
accent
#E14759
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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