#AB36B3#AB36B3

#AB36B3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.208 H 325.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB36B3
RGBrgb(171, 54, 179)
HSLhsl(296, 54%, 46%)
HSVhsv(296, 70%, 70%)
CMYKcmyk(4.5%, 69.8%, 0%, 29.8%)
CIE-LABlab(45.02, 62.61, -42.74)
CIE-LCHlch(45.02, 75.81, 325.68°)
OKLaboklab(55.31% 0.1708 -0.1188)
OKLCHoklch(55.31% 0.208 325.2)
XYZxyz(26.2498, 14.5526, 44.0654)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B3 #3EB336
analogous
#6C36B3 #AB36B3 #B3367C
triadic
#AB36B3 #B3AB36 #36B3AB
tetradic
#AB36B3 #B36C36 #3EB336 #367CB3
square
#AB36B3 #B36C36 #3EB336 #367CB3
split-complementary
#AB36B3 #7CB336 #36B36C
monochromatic
#511A55 #7E2884 #AB36B3 #C659CD #D688DB

Accessibility & contrast

On white

5.37
#AB36B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB36B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B3#FFFFFF#000000##FFFFFF
##AB36B31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B7
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#AF4A71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab36b3;
/* rgb */ color: rgb(171, 54, 179);
/* oklch */ color: oklch(55.3% 0.208 325.2);
Tailwind
colors: {
  custom: {
    50: '#c878ca',
    500: '#ab36b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b3;
$custom-light: #c878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b3",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 296.16,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.20808,
    "h": 325.2
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#AB36B3
secondary
#84C580
accent
#DD4B54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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