#AB36D1#AB36D1

#AB36D1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.233 H 316.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB36D1
RGBrgb(171, 54, 209)
HSLhsl(285, 63%, 52%)
HSVhsv(285, 74%, 82%)
CMYKcmyk(18.2%, 74.2%, 0%, 18%)
CIE-LABlab(46.84, 68.11, -57.26)
CIE-LCHlch(46.84, 88.98, 319.95°)
OKLaboklab(57.2% 0.1688 -0.1613)
OKLCHoklch(57.2% 0.233 316.3)
XYZxyz(29.6206, 15.9009, 61.8181)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36D1 #5CD136
analogous
#5E36D1 #AB36D1 #D136AA
triadic
#AB36D1 #D1AB36 #36D1AB
tetradic
#AB36D1 #D15E36 #5CD136 #36AAD1
square
#AB36D1 #D15E36 #5CD136 #36AAD1
split-complementary
#AB36D1 #AAD136 #36D15E
monochromatic
#5D1A72 #8526A4 #AB36D1 #C068DC #D59AE8

Accessibility & contrast

On white

5.02
#AB36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36D1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36D1#FFFFFF#000000##FFFFFF
##AB36D11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#A95881
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab36d1;
/* rgb */ color: rgb(171, 54, 209);
/* oklch */ color: oklch(57.2% 0.233 316.3);
Tailwind
colors: {
  custom: {
    50: '#c879e0',
    500: '#ab36d1',
    950: '#000000',
  },
}
SCSS
$custom: #ab36d1;
$custom-light: #c879e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36d1",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 285.29,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.23343,
    "h": 316.3
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#AB36D1
secondary
#A0D38F
accent
#E6426A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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