#AB36AC#AB36AC

#AB36AC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.202 H 327.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB36AC
RGBrgb(171, 54, 172)
HSLhsl(299, 52%, 44%)
HSVhsv(299, 69%, 67%)
CMYKcmyk(0.6%, 68.6%, 0%, 32.5%)
CIE-LABlab(44.63, 61.41, -39.22)
CIE-LCHlch(44.63, 72.87, 327.43°)
OKLaboklab(54.91% 0.1708 -0.1086)
OKLCHoklch(54.91% 0.202 327.5)
XYZxyz(25.5598, 14.2766, 40.4311)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36AC #37AC36
analogous
#7036AC #AB36AC #AC3672
triadic
#AB36AC #ACAB36 #36ACAB
tetradic
#AB36AC #AC7036 #37AC36 #3672AC
square
#AB36AC #AC7036 #37AC36 #3672AC
split-complementary
#AB36AC #72AC36 #36AC70
monochromatic
#4E194F #7D277D #AB36AC #C955CA #D884D8

Accessibility & contrast

On white

5.45
#AB36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB36AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36AC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36AC#FFFFFF#000000##FFFFFF
##AB36AC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#B0476D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab36ac;
/* rgb */ color: rgb(171, 54, 172);
/* oklch */ color: oklch(54.9% 0.202 327.5);
Tailwind
colors: {
  custom: {
    50: '#c777c5',
    500: '#ab36ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab36ac;
$custom-light: #c777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36ac",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 299.492,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.20238,
    "h": 327.5
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#AB36AC
secondary
#7CC27C
accent
#DC4C4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AB36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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