#AB36B6#AB36B6

#AB36B6 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.211 H 324.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB36B6
RGBrgb(171, 54, 182)
HSLhsl(295, 54%, 46%)
HSVhsv(295, 70%, 71%)
CMYKcmyk(6%, 70.3%, 0%, 28.6%)
CIE-LABlab(45.19, 63.14, -44.23)
CIE-LCHlch(45.19, 77.09, 324.99°)
OKLaboklab(55.49% 0.1708 -0.1231)
OKLCHoklch(55.49% 0.211 324.2)
XYZxyz(26.5565, 14.6753, 45.6807)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B6 #41B636
analogous
#6B36B6 #AB36B6 #B63681
triadic
#AB36B6 #B6AB36 #36B6AB
tetradic
#AB36B6 #B66B36 #41B636 #3681B6
square
#AB36B6 #B66B36 #41B636 #3681B6
split-complementary
#AB36B6 #81B636 #36B66B
monochromatic
#521A58 #7F2887 #AB36B6 #C45BCE #D58ADC

Accessibility & contrast

On white

5.34
#AB36B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB36B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B6#FFFFFF#000000##FFFFFF
##AB36B61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1062BA
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#AE4C72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b6;
/* rgb */ color: rgb(171, 54, 182);
/* oklch */ color: oklch(55.5% 0.211 324.2);
Tailwind
colors: {
  custom: {
    50: '#c878cc',
    500: '#ab36b6',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b6;
$custom-light: #c878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b6",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 294.844,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.21056,
    "h": 324.2
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#AB36B6
secondary
#87C681
accent
#DE4A57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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