#AB32C2#AB32C2

#AB32C2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.225 H 320.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB32C2
RGBrgb(171, 50, 194)
HSLhsl(290, 59%, 48%)
HSVhsv(290, 74%, 76%)
CMYKcmyk(11.9%, 74.2%, 0%, 23.9%)
CIE-LABlab(45.41, 66.70, -50.89)
CIE-LCHlch(45.41, 83.89, 322.66°)
OKLaboklab(55.88% 0.174 -0.1426)
OKLCHoklch(55.88% 0.225 320.7)
XYZxyz(27.6716, 14.8356, 52.4345)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32C2 #49C232
analogous
#6332C2 #AB32C2 #C23291
triadic
#AB32C2 #C2AB32 #32C2AB
tetradic
#AB32C2 #C26332 #49C232 #3291C2
square
#AB32C2 #C26332 #49C232 #3291C2
split-complementary
#AB32C2 #91C232 #32C263
monochromatic
#551961 #802591 #AB32C2 #C25CD5 #D48DE2

Accessibility & contrast

On white

5.29
#AB32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32C2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32C2#FFFFFF#000000##FFFFFF
##AB32C21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#AC4F78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab32c2;
/* rgb */ color: rgb(171, 50, 194);
/* oklch */ color: oklch(55.9% 0.225 320.7);
Tailwind
colors: {
  custom: {
    50: '#c876d5',
    500: '#ab32c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab32c2;
$custom-light: #c876d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32c2",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 290.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.22492,
    "h": 320.7
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#AB32C2
secondary
#8FCC84
accent
#E2465F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140914
muted
#827B83

Preview Lab

Preview with #AB32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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