#AB36D4#AB36D4

#AB36D4 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.236 H 315.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB36D4
RGBrgb(171, 54, 212)
HSLhsl(284, 65%, 52%)
HSVhsv(284, 75%, 83%)
CMYKcmyk(19.3%, 74.5%, 0%, 16.9%)
CIE-LABlab(47.04, 68.69, -58.66)
CIE-LCHlch(47.04, 90.33, 319.50°)
OKLaboklab(57.4% 0.1684 -0.1654)
OKLCHoklch(57.4% 0.236 315.5)
XYZxyz(29.9955, 16.0509, 63.7927)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36D4 #5FD436
analogous
#5C36D4 #AB36D4 #D436AE
triadic
#AB36D4 #D4AB36 #36D4AB
tetradic
#AB36D4 #D45C36 #5FD436 #36AED4
square
#AB36D4 #D45C36 #5FD436 #36AED4
split-complementary
#AB36D4 #AED436 #36D45C
monochromatic
#5E1976 #8624A9 #AB36D4 #C068DF #D59BEA

Accessibility & contrast

On white

4.99
#AB36D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB36D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36D4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36D4#FFFFFF#000000##FFFFFF
##AB36D41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#3173D1
Tritanopia (blue-blind)
#A85983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab36d4;
/* rgb */ color: rgb(171, 54, 212);
/* oklch */ color: oklch(57.4% 0.236 315.5);
Tailwind
colors: {
  custom: {
    50: '#c979e2',
    500: '#ab36d4',
    950: '#000000',
  },
}
SCSS
$custom: #ab36d4;
$custom-light: #c979e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36d4",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 284.43,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.23601,
    "h": 315.5
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB36D4

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

Preview Lab → · Contrast checker → · Palette generator →

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