#AB32AF#AB32AF

#AB32AF is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.209 H 326.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB32AF
RGBrgb(171, 50, 175)
HSLhsl(298, 56%, 44%)
HSVhsv(298, 71%, 69%)
CMYKcmyk(2.3%, 71.4%, 0%, 31.4%)
CIE-LABlab(44.28, 63.36, -41.54)
CIE-LCHlch(44.28, 75.76, 326.75°)
OKLaboklab(54.72% 0.1749 -0.1153)
OKLCHoklch(54.72% 0.209 326.6)
XYZxyz(25.6726, 14.0360, 41.9062)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB32AF #36AF32
analogous
#6D32AF #AB32AF #AF3275
triadic
#AB32AF #AFAB32 #32AFAB
tetradic
#AB32AF #AF6D32 #36AF32 #3275AF
square
#AB32AF #AF6D32 #36AF32 #3275AF
split-complementary
#AB32AF #75AF32 #32AF6D
monochromatic
#4E1750 #7C247F #AB32AF #C951CD #D881DB

Accessibility & contrast

On white

5.52
#AB32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB32AF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB32AF#FFFFFF#000000##FFFFFF
##AB32AF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#B0466D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab32af;
/* rgb */ color: rgb(171, 50, 175);
/* oklch */ color: oklch(54.7% 0.209 326.6);
Tailwind
colors: {
  custom: {
    50: '#c876c7',
    500: '#ab32af',
    950: '#000000',
  },
}
SCSS
$custom: #ab32af;
$custom-light: #c876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab32af",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 298.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.20944,
    "h": 326.6
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#AB32AF
secondary
#7BC479
accent
#DF494E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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