#AB36C4#AB36C4

#AB36C4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.222 H 319.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB36C4
RGBrgb(171, 54, 196)
HSLhsl(289, 57%, 49%)
HSVhsv(289, 72%, 77%)
CMYKcmyk(12.8%, 72.4%, 0%, 23.1%)
CIE-LABlab(46.02, 65.67, -51.07)
CIE-LCHlch(46.02, 83.19, 322.13°)
OKLaboklab(56.35% 0.1701 -0.1431)
OKLCHoklch(56.35% 0.222 319.9)
XYZxyz(28.0763, 15.2832, 53.6849)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36C4 #4FC436
analogous
#6436C4 #AB36C4 #C43696
triadic
#AB36C4 #C4AB36 #36C4AB
tetradic
#AB36C4 #C46436 #4FC436 #3696C4
square
#AB36C4 #C46436 #4FC436 #3696C4
split-complementary
#AB36C4 #96C436 #36C464
monochromatic
#571C64 #812994 #AB36C4 #C063D4 #D493E1

Accessibility & contrast

On white

5.18
#AB36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36C4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36C4#FFFFFF#000000##FFFFFF
##AB36C41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#AB527A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab36c4;
/* rgb */ color: rgb(171, 54, 196);
/* oklch */ color: oklch(56.4% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#c878d6',
    500: '#ab36c4',
    950: '#000000',
  },
}
SCSS
$custom: #ab36c4;
$custom-light: #c878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36c4",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 289.437,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.22231,
    "h": 319.9
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#AB36C4
secondary
#95CC89
accent
#E04863
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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