#AB36C0#AB36C0

#AB36C0 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.219 H 321.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB36C0
RGBrgb(171, 54, 192)
HSLhsl(291, 56%, 48%)
HSVhsv(291, 72%, 75%)
CMYKcmyk(10.9%, 71.9%, 0%, 24.7%)
CIE-LABlab(45.78, 64.93, -49.14)
CIE-LCHlch(45.78, 81.43, 322.89°)
OKLaboklab(56.1% 0.1704 -0.1375)
OKLCHoklch(56.1% 0.219 321.1)
XYZxyz(27.6271, 15.1035, 51.3190)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36C0 #4BC036
analogous
#6636C0 #AB36C0 #C03690
triadic
#AB36C0 #C0AB36 #36C0AB
tetradic
#AB36C0 #C06636 #4BC036 #3690C0
square
#AB36C0 #C06636 #4BC036 #3690C0
split-complementary
#AB36C0 #90C036 #36C066
monochromatic
#561B60 #802990 #AB36C0 #C161D2 #D490E0

Accessibility & contrast

On white

5.22
#AB36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36C0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36C0#FFFFFF#000000##FFFFFF
##AB36C01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#AC5078
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab36c0;
/* rgb */ color: rgb(171, 54, 192);
/* oklch */ color: oklch(56.1% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#c878d4',
    500: '#ab36c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab36c0;
$custom-light: #c878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36c0",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 290.87,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.21892,
    "h": 321.1
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#AB36C0
secondary
#91CB87
accent
#DF485F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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