#AB36BA#AB36BA

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

Color values

HEX#AB36BA
RGBrgb(171, 54, 186)
HSLhsl(293, 55%, 47%)
HSVhsv(293, 71%, 73%)
CMYKcmyk(8.1%, 71%, 0%, 27.1%)
CIE-LABlab(45.42, 63.85, -46.20)
CIE-LCHlch(45.42, 78.81, 324.11°)
OKLaboklab(55.73% 0.1707 -0.1289)
OKLCHoklch(55.73% 0.214 322.9)
XYZxyz(26.9758, 14.8430, 47.8890)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36BA #45BA36
analogous
#6936BA #AB36BA #BA3687
triadic
#AB36BA #BAAB36 #36BAAB
tetradic
#AB36BA #BA6936 #45BA36 #3687BA
square
#AB36BA #BA6936 #45BA36 #3687BA
split-complementary
#AB36BA #87BA36 #36BA69
monochromatic
#541A5B #7F288B #AB36BA #C35DD0 #D58DDE

Accessibility & contrast

On white

5.29
#AB36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36BA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36BA#FFFFFF#000000##FFFFFF
##AB36BA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BE
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#AE4D75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36ba;
/* rgb */ color: rgb(171, 54, 186);
/* oklch */ color: oklch(55.7% 0.214 322.9);
Tailwind
colors: {
  custom: {
    50: '#c878cf',
    500: '#ab36ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab36ba;
$custom-light: #c878cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36ba",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 293.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.21388,
    "h": 322.9
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#AB36BA
secondary
#8BC884
accent
#DE495A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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