#AB36B8#AB36B8

#AB36B8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.212 H 323.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB36B8
RGBrgb(171, 54, 184)
HSLhsl(294, 55%, 47%)
HSVhsv(294, 71%, 72%)
CMYKcmyk(7.1%, 70.7%, 0%, 27.8%)
CIE-LABlab(45.30, 63.50, -45.22)
CIE-LCHlch(45.30, 77.95, 324.54°)
OKLaboklab(55.61% 0.1707 -0.126)
OKLCHoklch(55.61% 0.212 323.6)
XYZxyz(26.7647, 14.7585, 46.7770)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B8 #43B836
analogous
#6A36B8 #AB36B8 #B83684
triadic
#AB36B8 #B8AB36 #36B8AB
tetradic
#AB36B8 #B86A36 #43B836 #3684B8
square
#AB36B8 #B86A36 #43B836 #3684B8
split-complementary
#AB36B8 #84B836 #36B86A
monochromatic
#531A59 #7F2889 #AB36B8 #C45CCF #D58BDD

Accessibility & contrast

On white

5.31
#AB36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B8#FFFFFF#000000##FFFFFF
##AB36B81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#AE4C74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b8;
/* rgb */ color: rgb(171, 54, 184);
/* oklch */ color: oklch(55.6% 0.212 323.6);
Tailwind
colors: {
  custom: {
    50: '#c878ce',
    500: '#ab36b8',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b8;
$custom-light: #c878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b8",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 294,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5561,
    "c": 0.21222,
    "h": 323.6
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#AB36B8
secondary
#89C782
accent
#DE4A59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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