#AB37B8#AB37B8

#AB37B8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.211 H 323.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB37B8
RGBrgb(171, 55, 184)
HSLhsl(294, 54%, 47%)
HSVhsv(294, 70%, 72%)
CMYKcmyk(7.1%, 70.1%, 0%, 27.8%)
CIE-LABlab(45.43, 63.13, -45.01)
CIE-LCHlch(45.43, 77.53, 324.51°)
OKLaboklab(55.7% 0.1697 -0.1254)
OKLCHoklch(55.7% 0.211 323.5)
XYZxyz(26.8117, 14.8526, 46.7927)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B8 #44B837
analogous
#6A37B8 #AB37B8 #B83785
triadic
#AB37B8 #B8AB37 #37B8AB
tetradic
#AB37B8 #B86A37 #44B837 #3785B8
square
#AB37B8 #B86A37 #44B837 #3785B8
split-complementary
#AB37B8 #85B837 #37B86A
monochromatic
#531B5A #7F2989 #AB37B8 #C35DCF #D58DDD

Accessibility & contrast

On white

5.29
#AB37B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB37B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B8#FFFFFF#000000##FFFFFF
##AB37B81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#AE4D74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37b8;
/* rgb */ color: rgb(171, 55, 184);
/* oklch */ color: oklch(55.7% 0.211 323.5);
Tailwind
colors: {
  custom: {
    50: '#c878ce',
    500: '#ab37b8',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b8;
$custom-light: #c878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b8",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 293.953,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.21105,
    "h": 323.5
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#AB37B8
secondary
#8AC784
accent
#DD4A59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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