#AB36C1#AB36C1

#AB36C1 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.220 H 320.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB36C1
RGBrgb(171, 54, 193)
HSLhsl(291, 56%, 48%)
HSVhsv(291, 72%, 76%)
CMYKcmyk(11.4%, 72%, 0%, 24.3%)
CIE-LABlab(45.84, 65.12, -49.62)
CIE-LCHlch(45.84, 81.87, 322.69°)
OKLaboklab(56.16% 0.1703 -0.1389)
OKLCHoklch(56.16% 0.22 320.8)
XYZxyz(27.7383, 15.1480, 51.9045)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36C1 #4CC136
analogous
#6636C1 #AB36C1 #C13691
triadic
#AB36C1 #C1AB36 #36C1AB
tetradic
#AB36C1 #C16636 #4CC136 #3691C1
square
#AB36C1 #C16636 #4CC136 #3691C1
split-complementary
#AB36C1 #91C136 #36C166
monochromatic
#561B61 #812991 #AB36C1 #C161D3 #D491E0

Accessibility & contrast

On white

5.21
#AB36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB36C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36C1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36C1#FFFFFF#000000##FFFFFF
##AB36C11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#4571BE
Tritanopia (blue-blind)
#AC5078
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab36c1;
/* rgb */ color: rgb(171, 54, 193);
/* oklch */ color: oklch(56.2% 0.220 320.8);
Tailwind
colors: {
  custom: {
    50: '#c878d4',
    500: '#ab36c1',
    950: '#000000',
  },
}
SCSS
$custom: #ab36c1;
$custom-light: #c878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36c1",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 290.504,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.21976,
    "h": 320.8
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#AB36C1
secondary
#92CB88
accent
#E04860
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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