#AB36AA#AB36AA

#AB36AA is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.201 H 328.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB36AA
RGBrgb(171, 54, 170)
HSLhsl(301, 52%, 44%)
HSVhsv(301, 68%, 67%)
CMYKcmyk(0%, 68.4%, 0.6%, 32.9%)
CIE-LABlab(44.52, 61.07, -38.21)
CIE-LCHlch(44.52, 72.04, 327.97°)
OKLaboklab(54.8% 0.1707 -0.1056)
OKLCHoklch(54.8% 0.201 328.3)
XYZxyz(25.3691, 14.2003, 39.4272)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36AA #36AB37
analogous
#7236AB #AB36AA #AB3670
triadic
#AB36AA #AAAB36 #36AAAB
tetradic
#AB36AA #AB7236 #36AB37 #3670AB
square
#AB36AA #AB7236 #36AB37 #3670AB
split-complementary
#AB36AA #70AB36 #36AB72
monochromatic
#4E194E #7C277C #AB36AA #C955C8 #D883D7

Accessibility & contrast

On white

5.47
#AB36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36AA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36AA#FFFFFF#000000##FFFFFF
##AB36AA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#B0466C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab36aa;
/* rgb */ color: rgb(171, 54, 170);
/* oklch */ color: oklch(54.8% 0.201 328.3);
Tailwind
colors: {
  custom: {
    50: '#c777c4',
    500: '#ab36aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab36aa;
$custom-light: #c777c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36aa",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 300.513,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.20078,
    "h": 328.3
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#AB36AA
secondary
#7BC27C
accent
#DB4E4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AB36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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