#AB36B4#AB36B4

#AB36B4 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.209 H 324.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB36B4
RGBrgb(171, 54, 180)
HSLhsl(296, 54%, 46%)
HSVhsv(296, 70%, 71%)
CMYKcmyk(5%, 70%, 0%, 29.4%)
CIE-LABlab(45.07, 62.79, -43.24)
CIE-LCHlch(45.07, 76.24, 325.45°)
OKLaboklab(55.37% 0.1708 -0.1203)
OKLCHoklch(55.37% 0.209 324.9)
XYZxyz(26.3513, 14.5932, 44.6000)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36B4 #3FB436
analogous
#6C36B4 #AB36B4 #B4367E
triadic
#AB36B4 #B4AB36 #36B4AB
tetradic
#AB36B4 #B46C36 #3FB436 #367EB4
square
#AB36B4 #B46C36 #3FB436 #367EB4
split-complementary
#AB36B4 #7EB436 #36B46C
monochromatic
#521A56 #7E2885 #AB36B4 #C55ACD #D689DC

Accessibility & contrast

On white

5.36
#AB36B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB36B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36B4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36B4#FFFFFF#000000##FFFFFF
##AB36B41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B8
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#AF4B71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab36b4;
/* rgb */ color: rgb(171, 54, 180);
/* oklch */ color: oklch(55.4% 0.209 324.9);
Tailwind
colors: {
  custom: {
    50: '#c878cb',
    500: '#ab36b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab36b4;
$custom-light: #c878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36b4",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 295.714,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.20891,
    "h": 324.9
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#AB36B4
secondary
#85C680
accent
#DD4B55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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