#AB36A1#AB36A1

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

Color values

HEX#AB36A1
RGBrgb(171, 54, 161)
HSLhsl(305, 52%, 44%)
HSVhsv(305, 68%, 67%)
CMYKcmyk(0%, 68.4%, 5.8%, 32.9%)
CIE-LABlab(44.05, 59.58, -33.60)
CIE-LCHlch(44.05, 68.40, 330.58°)
OKLaboklab(54.3% 0.1703 -0.0923)
OKLCHoklch(54.3% 0.194 331.5)
XYZxyz(24.5468, 13.8714, 35.0959)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36A1 #36AB40
analogous
#7B36AB #AB36A1 #AB3667
triadic
#AB36A1 #A1AB36 #36A1AB
tetradic
#AB36A1 #AB7B36 #36AB40 #3667AB
square
#AB36A1 #AB7B36 #36AB40 #3667AB
split-complementary
#AB36A1 #67AB36 #36AB7B
monochromatic
#4E1949 #7C2775 #AB36A1 #C955BF #D883D1

Accessibility & contrast

On white

5.56
#AB36A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB36A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36A1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36A1#FFFFFF#000000##FFFFFF
##AB36A11.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA4
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#B24267
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab36a1;
/* rgb */ color: rgb(171, 54, 161);
/* oklch */ color: oklch(54.3% 0.194 331.5);
Tailwind
colors: {
  custom: {
    50: '#c777bd',
    500: '#ab36a1',
    950: '#000000',
  },
}
SCSS
$custom: #ab36a1;
$custom-light: #c777bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36a1",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 305.128,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.19368,
    "h": 331.5
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#AB36A1
secondary
#7BC281
accent
#DB594C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB36A1

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

Preview Lab → · Contrast checker → · Palette generator →

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