#AB36D3#AB36D3

#AB36D3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.235 H 315.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB36D3
RGBrgb(171, 54, 211)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 74%, 83%)
CMYKcmyk(19%, 74.4%, 0%, 17.3%)
CIE-LABlab(46.98, 68.49, -58.19)
CIE-LCHlch(46.98, 89.88, 319.65°)
OKLaboklab(57.34% 0.1685 -0.164)
OKLCHoklch(57.34% 0.235 315.8)
XYZxyz(29.8698, 16.0006, 63.1304)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36D3 #5ED336
analogous
#5C36D3 #AB36D3 #D336AD
triadic
#AB36D3 #D3AB36 #36D3AB
tetradic
#AB36D3 #D35C36 #5ED336 #36ADD3
square
#AB36D3 #D35C36 #5ED336 #36ADD3
split-complementary
#AB36D3 #ADD336 #36D35C
monochromatic
#5E1A75 #8625A7 #AB36D3 #C068DE #D59AE9

Accessibility & contrast

On white

5.00
#AB36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36D3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36D3#FFFFFF#000000##FFFFFF
##AB36D31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#3372D0
Tritanopia (blue-blind)
#A85883
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab36d3;
/* rgb */ color: rgb(171, 54, 211);
/* oklch */ color: oklch(57.3% 0.235 315.8);
Tailwind
colors: {
  custom: {
    50: '#c879e1',
    500: '#ab36d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab36d3;
$custom-light: #c879e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36d3",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 284.713,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.23516,
    "h": 315.8
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#AB36D3
secondary
#A2D590
accent
#E7416B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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