#AB32B5#AB32B5

#AB32B5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.214 H 324.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB32B5
RGBrgb(171, 50, 181)
HSLhsl(295, 57%, 45%)
HSVhsv(295, 72%, 71%)
CMYKcmyk(5.5%, 72.4%, 0%, 29%)
CIE-LABlab(44.63, 64.39, -44.53)
CIE-LCHlch(44.63, 78.29, 325.33°)
OKLaboklab(55.07% 0.1747 -0.124)
OKLCHoklch(55.07% 0.214 324.6)
XYZxyz(26.2750, 14.2770, 45.0789)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32B5 #3CB532
analogous
#6A32B5 #AB32B5 #B5327D
triadic
#AB32B5 #B5AB32 #32B5AB
tetradic
#AB32B5 #B56A32 #3CB532 #327DB5
square
#AB32B5 #B56A32 #3CB532 #327DB5
split-complementary
#AB32B5 #7DB532 #32B56A
monochromatic
#501855 #7E2585 #AB32B5 #C654D0 #D684DD

Accessibility & contrast

On white

5.45
#AB32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32B5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32B5#FFFFFF#000000##FFFFFF
##AB32B51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B9
Deuteranopia (green-blind)
#4C6EB2
Tritanopia (blue-blind)
#AF4971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab32b5;
/* rgb */ color: rgb(171, 50, 181);
/* oklch */ color: oklch(55.1% 0.214 324.6);
Tailwind
colors: {
  custom: {
    50: '#c876cc',
    500: '#ab32b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab32b5;
$custom-light: #c876cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32b5",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 295.42,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.21426,
    "h": 324.6
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#AB32B5
secondary
#82C77C
accent
#E04853
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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