#AB36AD#AB36AD

#AB36AD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.203 H 327.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB36AD
RGBrgb(171, 54, 173)
HSLhsl(299, 52%, 45%)
HSVhsv(299, 69%, 68%)
CMYKcmyk(1.2%, 68.8%, 0%, 32.2%)
CIE-LABlab(44.68, 61.58, -39.73)
CIE-LCHlch(44.68, 73.28, 327.17°)
OKLaboklab(54.97% 0.1708 -0.1101)
OKLCHoklch(54.97% 0.203 327.2)
XYZxyz(25.6562, 14.3151, 40.9388)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36AD #38AD36
analogous
#7036AD #AB36AD #AD3673
triadic
#AB36AD #ADAB36 #36ADAB
tetradic
#AB36AD #AD7036 #38AD36 #3673AD
square
#AB36AD #AD7036 #38AD36 #3673AD
split-complementary
#AB36AD #73AD36 #36AD70
monochromatic
#4F1950 #7D277E #AB36AD #C856CA #D785D9

Accessibility & contrast

On white

5.44
#AB36AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB36AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36AD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36AD#FFFFFF#000000##FFFFFF
##AB36AD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#B0486E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab36ad;
/* rgb */ color: rgb(171, 54, 173);
/* oklch */ color: oklch(55.0% 0.203 327.2);
Tailwind
colors: {
  custom: {
    50: '#c777c6',
    500: '#ab36ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab36ad;
$custom-light: #c777c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36ad",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 298.992,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.20319,
    "h": 327.2
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#AB36AD
secondary
#7DC27C
accent
#DC4C4E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AB36AD

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

Preview Lab → · Contrast checker → · Palette generator →

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