#AB36BF#AB36BF

#AB36BF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.218 H 321.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB36BF
RGBrgb(171, 54, 191)
HSLhsl(291, 56%, 48%)
HSVhsv(291, 72%, 75%)
CMYKcmyk(10.5%, 71.7%, 0%, 25.1%)
CIE-LABlab(45.72, 64.75, -48.65)
CIE-LCHlch(45.72, 80.99, 323.08°)
OKLaboklab(56.04% 0.1704 -0.1361)
OKLCHoklch(56.04% 0.218 321.4)
XYZxyz(27.5167, 15.0593, 50.7375)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36BF #4ABF36
analogous
#6636BF #AB36BF #BF368E
triadic
#AB36BF #BFAB36 #36BFAB
tetradic
#AB36BF #BF6636 #4ABF36 #368EBF
square
#AB36BF #BF6636 #4ABF36 #368EBF
split-complementary
#AB36BF #8EBF36 #36BF66
monochromatic
#561B60 #80298F #AB36BF #C160D2 #D490E0

Accessibility & contrast

On white

5.23
#AB36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36BF#FFFFFF#000000##FFFFFF
##AB36BF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4770BC
Tritanopia (blue-blind)
#AD5077
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab36bf;
/* rgb */ color: rgb(171, 54, 191);
/* oklch */ color: oklch(56.0% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#c878d3',
    500: '#ab36bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab36bf;
$custom-light: #c878d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36bf",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 291.241,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.21808,
    "h": 321.4
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#AB36BF
secondary
#90CA87
accent
#DF495F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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