#AB36A4#AB36A4

#AB36A4 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.196 H 330.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB36A4
RGBrgb(171, 54, 164)
HSLhsl(304, 52%, 44%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 68.4%, 4.1%, 32.9%)
CIE-LABlab(44.20, 60.07, -35.14)
CIE-LCHlch(44.20, 69.60, 329.67°)
OKLaboklab(54.47% 0.1705 -0.0968)
OKLCHoklch(54.47% 0.196 330.4)
XYZxyz(24.8145, 13.9785, 36.5059)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36A4 #36AB3D
analogous
#7836AB #AB36A4 #AB366A
triadic
#AB36A4 #A4AB36 #36A4AB
tetradic
#AB36A4 #AB7836 #36AB3D #366AAB
square
#AB36A4 #AB7836 #36AB3D #366AAB
split-complementary
#AB36A4 #6AAB36 #36AB78
monochromatic
#4E194B #7C2777 #AB36A4 #C955C2 #D883D3

Accessibility & contrast

On white

5.53
#AB36A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB36A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36A4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36A4#FFFFFF#000000##FFFFFF
##AB36A41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#B14469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab36a4;
/* rgb */ color: rgb(171, 54, 164);
/* oklch */ color: oklch(54.5% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#c777bf',
    500: '#ab36a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab36a4;
$custom-light: #c777bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36a4",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 303.59,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.19602,
    "h": 330.4
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#AB36A4
secondary
#7BC27F
accent
#DB554C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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