#AB36D0#AB36D0

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

Color values

HEX#AB36D0
RGBrgb(171, 54, 208)
HSLhsl(286, 62%, 51%)
HSVhsv(286, 74%, 82%)
CMYKcmyk(17.8%, 74%, 0%, 18.4%)
CIE-LABlab(46.78, 67.92, -56.79)
CIE-LCHlch(46.78, 88.53, 320.10°)
OKLaboklab(57.14% 0.1689 -0.1599)
OKLCHoklch(57.14% 0.233 316.6)
XYZxyz(29.4972, 15.8515, 61.1682)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36D0 #5BD036
analogous
#5E36D0 #AB36D0 #D036A8
triadic
#AB36D0 #D0AB36 #36D0AB
tetradic
#AB36D0 #D05E36 #5BD036 #36A8D0
square
#AB36D0 #D05E36 #5BD036 #36A8D0
split-complementary
#AB36D0 #A8D036 #36D05E
monochromatic
#5C1A71 #8526A3 #AB36D0 #C068DC #D499E7

Accessibility & contrast

On white

5.04
#AB36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36D0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36D0#FFFFFF#000000##FFFFFF
##AB36D01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3772CD
Tritanopia (blue-blind)
#A95781
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab36d0;
/* rgb */ color: rgb(171, 54, 208);
/* oklch */ color: oklch(57.1% 0.233 316.6);
Tailwind
colors: {
  custom: {
    50: '#c879df',
    500: '#ab36d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab36d0;
$custom-light: #c879df;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36d0",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 285.584,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.23257,
    "h": 316.6
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#AB36D0
secondary
#9FD38F
accent
#E5436A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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