#AB36B5#AB36B5

#AB36B5 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.210 H 324.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB36B5
RGBrgb(171, 54, 181)
HSLhsl(295, 54%, 46%)
HSVhsv(295, 70%, 71%)
CMYKcmyk(5.5%, 70.2%, 0%, 29%)
CIE-LABlab(45.13, 62.96, -43.73)
CIE-LCHlch(45.13, 76.66, 325.22°)
OKLaboklab(55.43% 0.1708 -0.1217)
OKLCHoklch(55.43% 0.21 324.5)
XYZxyz(26.4536, 14.6341, 45.1384)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B5 #40B536
analogous
#6B36B5 #AB36B5 #B5367F
triadic
#AB36B5 #B5AB36 #36B5AB
tetradic
#AB36B5 #B56B36 #40B536 #367FB5
square
#AB36B5 #B56B36 #40B536 #367FB5
split-complementary
#AB36B5 #7FB536 #36B56B
monochromatic
#521A57 #7E2886 #AB36B5 #C55ACE #D589DC

Accessibility & contrast

On white

5.35
#AB36B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB36B5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B5#FFFFFF#000000##FFFFFF
##AB36B51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262B9
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#AE4B72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b5;
/* rgb */ color: rgb(171, 54, 181);
/* oklch */ color: oklch(55.4% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#c878cc',
    500: '#ab36b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b5;
$custom-light: #c878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b5",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 295.276,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.20973,
    "h": 324.5
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#AB36B5
secondary
#86C681
accent
#DD4A56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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