#AB36A2#AB36A2

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

Color values

HEX#AB36A2
RGBrgb(171, 54, 162)
HSLhsl(305, 52%, 44%)
HSVhsv(305, 68%, 67%)
CMYKcmyk(0%, 68.4%, 5.3%, 32.9%)
CIE-LABlab(44.10, 59.75, -34.11)
CIE-LCHlch(44.10, 68.80, 330.27°)
OKLaboklab(54.36% 0.1703 -0.0938)
OKLCHoklch(54.36% 0.194 331.2)
XYZxyz(24.6353, 13.9068, 35.5622)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36A2 #36AB3F
analogous
#7A36AB #AB36A2 #AB3668
triadic
#AB36A2 #A2AB36 #36A2AB
tetradic
#AB36A2 #AB7A36 #36AB3F #3668AB
square
#AB36A2 #AB7A36 #36AB3F #3668AB
split-complementary
#AB36A2 #68AB36 #36AB7A
monochromatic
#4E194A #7C2776 #AB36A2 #C955C0 #D883D1

Accessibility & contrast

On white

5.55
#AB36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36A2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36A2#FFFFFF#000000##FFFFFF
##AB36A21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#B24368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab36a2;
/* rgb */ color: rgb(171, 54, 162);
/* oklch */ color: oklch(54.4% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#c777be',
    500: '#ab36a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab36a2;
$custom-light: #c777be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36a2",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 304.615,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.19445,
    "h": 331.2
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#AB36A2
secondary
#7BC281
accent
#DB574C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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