#AB32A2#AB32A2

#AB32A2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 54.0% C 0.199 H 331.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB32A2
RGBrgb(171, 50, 162)
HSLhsl(304, 55%, 43%)
HSVhsv(304, 71%, 67%)
CMYKcmyk(0%, 70.8%, 5.3%, 32.9%)
CIE-LABlab(43.58, 61.21, -34.93)
CIE-LCHlch(43.58, 70.48, 330.29°)
OKLaboklab(53.98% 0.1746 -0.0961)
OKLCHoklch(53.98% 0.199 331.2)
XYZxyz(24.4567, 13.5497, 35.5027)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32A2 #32AB3B
analogous
#7732AB #AB32A2 #AB3265
triadic
#AB32A2 #A2AB32 #32A2AB
tetradic
#AB32A2 #AB7732 #32AB3B #3265AB
square
#AB32A2 #AB7732 #32AB3B #3265AB
split-complementary
#AB32A2 #65AB32 #32AB77
monochromatic
#4C1648 #7C2475 #AB32A2 #CB4FC2 #D97ED3

Accessibility & contrast

On white

5.66
#AB32A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32A2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32A2#FFFFFF#000000##FFFFFF
##AB32A21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B24066
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab32a2;
/* rgb */ color: rgb(171, 50, 162);
/* oklch */ color: oklch(54.0% 0.199 331.2);
Tailwind
colors: {
  custom: {
    50: '#c875be',
    500: '#ab32a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab32a2;
$custom-light: #c875be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32a2",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 304.463,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.19928,
    "h": 331.2
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#AB32A2
secondary
#77C27C
accent
#DE554A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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