#AB36BE#AB36BE

#AB36BE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.217 H 321.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB36BE
RGBrgb(171, 54, 190)
HSLhsl(292, 56%, 48%)
HSVhsv(292, 72%, 75%)
CMYKcmyk(10%, 71.6%, 0%, 25.5%)
CIE-LABlab(45.66, 64.57, -48.16)
CIE-LCHlch(45.66, 80.55, 323.28°)
OKLaboklab(55.98% 0.1705 -0.1346)
OKLCHoklch(55.98% 0.217 321.7)
XYZxyz(27.4070, 15.0155, 50.1599)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36BE #49BE36
analogous
#6736BE #AB36BE #BE368D
triadic
#AB36BE #BEAB36 #36BEAB
tetradic
#AB36BE #BE6736 #49BE36 #368DBE
square
#AB36BE #BE6736 #49BE36 #368DBE
split-complementary
#AB36BE #8DBE36 #36BE67
monochromatic
#551B5F #80288E #AB36BE #C260D2 #D48FDF

Accessibility & contrast

On white

5.25
#AB36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36BE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36BE#FFFFFF#000000##FFFFFF
##AB36BE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4870BB
Tritanopia (blue-blind)
#AD4F77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab36be;
/* rgb */ color: rgb(171, 54, 190);
/* oklch */ color: oklch(56.0% 0.217 321.7);
Tailwind
colors: {
  custom: {
    50: '#c878d2',
    500: '#ab36be',
    950: '#000000',
  },
}
SCSS
$custom: #ab36be;
$custom-light: #c878d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36be",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 291.618,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.21723,
    "h": 321.7
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#AB36BE
secondary
#8FCA86
accent
#DF495E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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