#AB32B1#AB32B1

#AB32B1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.211 H 325.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB32B1
RGBrgb(171, 50, 177)
HSLhsl(297, 56%, 45%)
HSVhsv(297, 72%, 69%)
CMYKcmyk(3.4%, 71.8%, 0%, 30.6%)
CIE-LABlab(44.40, 63.70, -42.54)
CIE-LCHlch(44.40, 76.60, 326.26°)
OKLaboklab(54.83% 0.1748 -0.1182)
OKLCHoklch(54.83% 0.211 325.9)
XYZxyz(25.8705, 14.1152, 42.9483)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32B1 #38B132
analogous
#6B32B1 #AB32B1 #B13278
triadic
#AB32B1 #B1AB32 #32B1AB
tetradic
#AB32B1 #B16B32 #38B132 #3278B1
square
#AB32B1 #B16B32 #38B132 #3278B1
split-complementary
#AB32B1 #78B132 #32B16B
monochromatic
#4F1752 #7D2581 #AB32B1 #C852CE #D782DC

Accessibility & contrast

On white

5.49
#AB32B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB32B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32B1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32B1#FFFFFF#000000##FFFFFF
##AB32B11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#AF476F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab32b1;
/* rgb */ color: rgb(171, 50, 177);
/* oklch */ color: oklch(54.8% 0.211 325.9);
Tailwind
colors: {
  custom: {
    50: '#c876c9',
    500: '#ab32b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab32b1;
$custom-light: #c876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32b1",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 297.165,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.21104,
    "h": 325.9
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#AB32B1
secondary
#7DC57A
accent
#DF4950
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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