#AB37AE#AB37AE

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

Color values

HEX#AB37AE
RGBrgb(171, 55, 174)
HSLhsl(298, 52%, 45%)
HSVhsv(298, 68%, 68%)
CMYKcmyk(1.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(44.87, 61.38, -40.02)
CIE-LCHlch(44.87, 73.27, 326.89°)
OKLaboklab(55.12% 0.1698 -0.1109)
OKLCHoklch(55.12% 0.203 326.8)
XYZxyz(25.8003, 14.4480, 41.4660)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37AE #3AAE37
analogous
#6F37AE #AB37AE #AE3776
triadic
#AB37AE #AEAB37 #37AEAB
tetradic
#AB37AE #AE6F37 #3AAE37 #3776AE
square
#AB37AE #AE6F37 #3AAE37 #3776AE
split-complementary
#AB37AE #76AE37 #37AE6F
monochromatic
#501A51 #7D287F #AB37AE #C758CA #D786D9

Accessibility & contrast

On white

5.40
#AB37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37AE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37AE#FFFFFF#000000##FFFFFF
##AB37AE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#B0496E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab37ae;
/* rgb */ color: rgb(171, 55, 174);
/* oklch */ color: oklch(55.1% 0.203 326.8);
Tailwind
colors: {
  custom: {
    50: '#c778c6',
    500: '#ab37ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab37ae;
$custom-light: #c778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37ae",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 298.487,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.20279,
    "h": 326.8
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#AB37AE
secondary
#80C37E
accent
#DB4C50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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