#AB36B7#AB36B7

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

Color values

HEX#AB36B7
RGBrgb(171, 54, 183)
HSLhsl(294, 54%, 46%)
HSVhsv(294, 70%, 72%)
CMYKcmyk(6.6%, 70.5%, 0%, 28.2%)
CIE-LABlab(45.24, 63.32, -44.72)
CIE-LCHlch(45.24, 77.52, 324.76°)
OKLaboklab(55.55% 0.1708 -0.1246)
OKLCHoklch(55.55% 0.211 323.9)
XYZxyz(26.6602, 14.7168, 46.2269)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B7 #42B736
analogous
#6B36B7 #AB36B7 #B73683
triadic
#AB36B7 #B7AB36 #36B7AB
tetradic
#AB36B7 #B76B36 #42B736 #3683B7
square
#AB36B7 #B76B36 #42B736 #3683B7
split-complementary
#AB36B7 #83B736 #36B76B
monochromatic
#531A58 #7F2888 #AB36B7 #C45BCF #D58BDD

Accessibility & contrast

On white

5.33
#AB36B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB36B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B7#FFFFFF#000000##FFFFFF
##AB36B71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#AE4C73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b7;
/* rgb */ color: rgb(171, 54, 183);
/* oklch */ color: oklch(55.5% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#c878cd',
    500: '#ab36b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b7;
$custom-light: #c878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b7",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 294.419,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.21139,
    "h": 323.9
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#AB36B7
secondary
#88C782
accent
#DE4A58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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