#AB36C3#AB36C3

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

Color values

HEX#AB36C3
RGBrgb(171, 54, 195)
HSLhsl(290, 57%, 49%)
HSVhsv(290, 72%, 76%)
CMYKcmyk(12.3%, 72.3%, 0%, 23.5%)
CIE-LABlab(45.96, 65.48, -50.59)
CIE-LCHlch(45.96, 82.75, 322.31°)
OKLaboklab(56.29% 0.1702 -0.1417)
OKLCHoklch(56.29% 0.221 320.2)
XYZxyz(27.9629, 15.2378, 53.0875)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36C3 #4EC336
analogous
#6536C3 #AB36C3 #C33695
triadic
#AB36C3 #C3AB36 #36C3AB
tetradic
#AB36C3 #C36536 #4EC336 #3695C3
square
#AB36C3 #C36536 #4EC336 #3695C3
split-complementary
#AB36C3 #95C336 #36C365
monochromatic
#571B63 #812993 #AB36C3 #C063D4 #D492E1

Accessibility & contrast

On white

5.19
#AB36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36C3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36C3#FFFFFF#000000##FFFFFF
##AB36C31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#AC517A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab36c3;
/* rgb */ color: rgb(171, 54, 195);
/* oklch */ color: oklch(56.3% 0.221 320.2);
Tailwind
colors: {
  custom: {
    50: '#c878d6',
    500: '#ab36c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab36c3;
$custom-light: #c878d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36c3",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 289.787,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.22145,
    "h": 320.2
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#AB36C3
secondary
#94CC89
accent
#E04862
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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