#AB36A3#AB36A3

#AB36A3 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.195 H 330.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB36A3
RGBrgb(171, 54, 163)
HSLhsl(304, 52%, 44%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 68.4%, 4.7%, 32.9%)
CIE-LABlab(44.15, 59.91, -34.63)
CIE-LCHlch(44.15, 69.20, 329.97°)
OKLaboklab(54.41% 0.1704 -0.0953)
OKLCHoklch(54.41% 0.195 330.8)
XYZxyz(24.7245, 13.9425, 36.0322)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36A3 #36AB3E
analogous
#7936AB #AB36A3 #AB3668
triadic
#AB36A3 #A3AB36 #36A3AB
tetradic
#AB36A3 #AB7936 #36AB3E #3668AB
square
#AB36A3 #AB7936 #36AB3E #3668AB
split-complementary
#AB36A3 #68AB36 #36AB79
monochromatic
#4E194A #7C2777 #AB36A3 #C955C1 #D883D2

Accessibility & contrast

On white

5.54
#AB36A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB36A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36A3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36A3#FFFFFF#000000##FFFFFF
##AB36A31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#B24368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab36a3;
/* rgb */ color: rgb(171, 54, 163);
/* oklch */ color: oklch(54.4% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#c777be',
    500: '#ab36a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab36a3;
$custom-light: #c777be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36a3",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 304.103,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.19523,
    "h": 330.8
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#AB36A3
secondary
#7BC280
accent
#DB564C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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