#AB36B2#AB36B2

#AB36B2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.207 H 325.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB36B2
RGBrgb(171, 54, 178)
HSLhsl(297, 53%, 45%)
HSVhsv(297, 70%, 70%)
CMYKcmyk(3.9%, 69.7%, 0%, 30.2%)
CIE-LABlab(44.96, 62.44, -42.24)
CIE-LCHlch(44.96, 75.39, 325.92°)
OKLaboklab(55.25% 0.1708 -0.1174)
OKLCHoklch(55.25% 0.207 325.5)
XYZxyz(26.1491, 14.5123, 43.5347)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B2 #3DB236
analogous
#6D36B2 #AB36B2 #B2367B
triadic
#AB36B2 #B2AB36 #36B2AB
tetradic
#AB36B2 #B26D36 #3DB236 #367BB2
square
#AB36B2 #B26D36 #3DB236 #367BB2
split-complementary
#AB36B2 #7BB236 #36B26D
monochromatic
#511A54 #7E2883 #AB36B2 #C659CD #D688DB

Accessibility & contrast

On white

5.38
#AB36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B2#FFFFFF#000000##FFFFFF
##AB36B21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B6
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#AF4A70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab36b2;
/* rgb */ color: rgb(171, 54, 178);
/* oklch */ color: oklch(55.3% 0.207 325.5);
Tailwind
colors: {
  custom: {
    50: '#c878c9',
    500: '#ab36b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b2;
$custom-light: #c878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b2",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 296.613,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.20727,
    "h": 325.5
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#AB36B2
secondary
#83C57F
accent
#DD4B53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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