#AB36AF#AB36AF

#AB36AF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.205 H 326.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB36AF
RGBrgb(171, 54, 175)
HSLhsl(298, 53%, 45%)
HSVhsv(298, 69%, 69%)
CMYKcmyk(2.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(44.79, 61.92, -40.74)
CIE-LCHlch(44.79, 74.12, 326.66°)
OKLaboklab(55.08% 0.1708 -0.113)
OKLCHoklch(55.08% 0.205 326.5)
XYZxyz(25.8511, 14.3931, 41.9657)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36AF #3AAF36
analogous
#6F36AF #AB36AF #AF3676
triadic
#AB36AF #AFAB36 #36AFAB
tetradic
#AB36AF #AF6F36 #3AAF36 #3676AF
square
#AB36AF #AF6F36 #3AAF36 #3676AF
split-complementary
#AB36AF #76AF36 #36AF6F
monochromatic
#501951 #7D2880 #AB36AF #C757CB #D786DA

Accessibility & contrast

On white

5.41
#AB36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36AF#FFFFFF#000000##FFFFFF
##AB36AF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#B0486F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab36af;
/* rgb */ color: rgb(171, 54, 175);
/* oklch */ color: oklch(55.1% 0.205 326.5);
Tailwind
colors: {
  custom: {
    50: '#c777c7',
    500: '#ab36af',
    950: '#000000',
  },
}
SCSS
$custom: #ab36af;
$custom-light: #c777c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36af",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 298.017,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.20481,
    "h": 326.5
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#AB36AF
secondary
#80C37D
accent
#DC4C50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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