#AB36B9#AB36B9

#AB36B9 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.213 H 323.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB36B9
RGBrgb(171, 54, 185)
HSLhsl(294, 55%, 47%)
HSVhsv(294, 71%, 73%)
CMYKcmyk(7.6%, 70.8%, 0%, 27.5%)
CIE-LABlab(45.36, 63.67, -45.71)
CIE-LCHlch(45.36, 78.38, 324.32°)
OKLaboklab(55.67% 0.1707 -0.1275)
OKLCHoklch(55.67% 0.213 323.2)
XYZxyz(26.8699, 14.8006, 47.3310)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B9 #44B936
analogous
#6A36B9 #AB36B9 #B93686
triadic
#AB36B9 #B9AB36 #36B9AB
tetradic
#AB36B9 #B96A36 #44B936 #3686B9
square
#AB36B9 #B96A36 #44B936 #3686B9
split-complementary
#AB36B9 #86B936 #36B96A
monochromatic
#531A5A #7F288A #AB36B9 #C35DD0 #D58CDD

Accessibility & contrast

On white

5.30
#AB36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB36B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B9#FFFFFF#000000##FFFFFF
##AB36B91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BD
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#AE4D74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b9;
/* rgb */ color: rgb(171, 54, 185);
/* oklch */ color: oklch(55.7% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#c878ce',
    500: '#ab36b9',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b9;
$custom-light: #c878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b9",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 293.588,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.21304,
    "h": 323.2
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#AB36B9
secondary
#8AC883
accent
#DE4A5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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