#AB36BD#AB36BD

#AB36BD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.216 H 322.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB36BD
RGBrgb(171, 54, 189)
HSLhsl(292, 56%, 48%)
HSVhsv(292, 71%, 74%)
CMYKcmyk(9.5%, 71.4%, 0%, 25.9%)
CIE-LABlab(45.60, 64.39, -47.67)
CIE-LCHlch(45.60, 80.12, 323.48°)
OKLaboklab(55.92% 0.1705 -0.1332)
OKLCHoklch(55.92% 0.216 322)
XYZxyz(27.2981, 14.9719, 49.5862)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36BD #48BD36
analogous
#6736BD #AB36BD #BD368B
triadic
#AB36BD #BDAB36 #36BDAB
tetradic
#AB36BD #BD6736 #48BD36 #368BBD
square
#AB36BD #BD6736 #48BD36 #368BBD
split-complementary
#AB36BD #8BBD36 #36BD67
monochromatic
#551B5E #80288D #AB36BD #C25FD1 #D48FDF

Accessibility & contrast

On white

5.26
#AB36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36BD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36BD#FFFFFF#000000##FFFFFF
##AB36BD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#AD4F76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab36bd;
/* rgb */ color: rgb(171, 54, 189);
/* oklch */ color: oklch(55.9% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#c878d1',
    500: '#ab36bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab36bd;
$custom-light: #c878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36bd",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 292,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.21639,
    "h": 322
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#AB36BD
secondary
#8EC985
accent
#DF495D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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