#AB37AC#AB37AC

#AB37AC is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.201 H 327.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB37AC
RGBrgb(171, 55, 172)
HSLhsl(299, 52%, 45%)
HSVhsv(299, 68%, 67%)
CMYKcmyk(0.6%, 68%, 0%, 32.5%)
CIE-LABlab(44.76, 61.03, -39.01)
CIE-LCHlch(44.76, 72.44, 327.41°)
OKLaboklab(55% 0.1697 -0.108)
OKLCHoklch(55% 0.201 327.5)
XYZxyz(25.6068, 14.3706, 40.4468)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37AC #38AC37
analogous
#7137AC #AB37AC #AC3773
triadic
#AB37AC #ACAB37 #37ACAB
tetradic
#AB37AC #AC7137 #38AC37 #3773AC
square
#AB37AC #AC7137 #38AC37 #3773AC
split-complementary
#AB37AC #73AC37 #37AC71
monochromatic
#4F194F #7D287E #AB37AC #C857C9 #D785D8

Accessibility & contrast

On white

5.42
#AB37AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB37AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37AC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37AC#FFFFFF#000000##FFFFFF
##AB37AC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#B0486D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab37ac;
/* rgb */ color: rgb(171, 55, 172);
/* oklch */ color: oklch(55.0% 0.201 327.5);
Tailwind
colors: {
  custom: {
    50: '#c778c5',
    500: '#ab37ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab37ac;
$custom-light: #c778c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37ac",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 299.487,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.20116,
    "h": 327.5
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#AB37AC
secondary
#7DC27D
accent
#DB4D4E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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