#AB36C2#AB36C2

#AB36C2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.221 H 320.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB36C2
RGBrgb(171, 54, 194)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 72%, 76%)
CMYKcmyk(11.9%, 72.2%, 0%, 23.9%)
CIE-LABlab(45.90, 65.30, -50.11)
CIE-LCHlch(45.90, 82.31, 322.50°)
OKLaboklab(56.23% 0.1702 -0.1403)
OKLCHoklch(56.23% 0.221 320.5)
XYZxyz(27.8502, 15.1927, 52.4940)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36C2 #4DC236
analogous
#6536C2 #AB36C2 #C23693
triadic
#AB36C2 #C2AB36 #36C2AB
tetradic
#AB36C2 #C26536 #4DC236 #3693C2
square
#AB36C2 #C26536 #4DC236 #3693C2
split-complementary
#AB36C2 #93C236 #36C265
monochromatic
#571B62 #812992 #AB36C2 #C162D3 #D492E1

Accessibility & contrast

On white

5.20
#AB36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36C2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36C2#FFFFFF#000000##FFFFFF
##AB36C21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#AC5179
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab36c2;
/* rgb */ color: rgb(171, 54, 194);
/* oklch */ color: oklch(56.2% 0.221 320.5);
Tailwind
colors: {
  custom: {
    50: '#c878d5',
    500: '#ab36c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab36c2;
$custom-light: #c878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36c2",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 290.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.22061,
    "h": 320.5
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#AB36C2
secondary
#93CC88
accent
#E04861
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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