#AB32AA#AB32AA

#AB32AA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.205 H 328.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB32AA
RGBrgb(171, 50, 170)
HSLhsl(300, 55%, 43%)
HSVhsv(300, 71%, 67%)
CMYKcmyk(0%, 70.8%, 0.6%, 32.9%)
CIE-LABlab(44.01, 62.52, -39.02)
CIE-LCHlch(44.01, 73.70, 328.03°)
OKLaboklab(54.43% 0.1748 -0.108)
OKLCHoklch(54.43% 0.205 328.3)
XYZxyz(25.1906, 13.8432, 39.3676)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32AA #32AB33
analogous
#6F32AB #AB32AA #AB326D
triadic
#AB32AA #AAAB32 #32AAAB
tetradic
#AB32AA #AB6F32 #32AB33 #326DAB
square
#AB32AA #AB6F32 #32AB33 #326DAB
split-complementary
#AB32AA #6DAB32 #32AB6F
monochromatic
#4C164C #7C247B #AB32AA #CB4FCA #D97ED9

Accessibility & contrast

On white

5.57
#AB32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32AA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32AA#FFFFFF#000000##FFFFFF
##AB32AA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#526EA7
Tritanopia (blue-blind)
#B1446B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab32aa;
/* rgb */ color: rgb(171, 50, 170);
/* oklch */ color: oklch(54.4% 0.205 328.3);
Tailwind
colors: {
  custom: {
    50: '#c875c4',
    500: '#ab32aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab32aa;
$custom-light: #c875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32aa",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 300.496,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.20548,
    "h": 328.3
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#AB32AA
secondary
#77C277
accent
#DE4B4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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