#AB37B9#AB37B9

#AB37B9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.212 H 323.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB37B9
RGBrgb(171, 55, 185)
HSLhsl(294, 54%, 47%)
HSVhsv(294, 70%, 73%)
CMYKcmyk(7.6%, 70.3%, 0%, 27.5%)
CIE-LABlab(45.49, 63.30, -45.50)
CIE-LCHlch(45.49, 77.96, 324.29°)
OKLaboklab(55.76% 0.1697 -0.1269)
OKLCHoklch(55.76% 0.212 323.2)
XYZxyz(26.9169, 14.8947, 47.3467)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B9 #45B937
analogous
#6A37B9 #AB37B9 #B93786
triadic
#AB37B9 #B9AB37 #37B9AB
tetradic
#AB37B9 #B96A37 #45B937 #3786B9
square
#AB37B9 #B96A37 #45B937 #3786B9
split-complementary
#AB37B9 #86B937 #37B96A
monochromatic
#541B5B #7F298A #AB37B9 #C35ECF #D58DDD

Accessibility & contrast

On white

5.28
#AB37B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB37B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B9#FFFFFF#000000##FFFFFF
##AB37B91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BD
Deuteranopia (green-blind)
#4C70B6
Tritanopia (blue-blind)
#AE4E74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37b9;
/* rgb */ color: rgb(171, 55, 185);
/* oklch */ color: oklch(55.8% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#c878ce',
    500: '#ab37b9',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b9;
$custom-light: #c878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b9",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 293.538,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.21189,
    "h": 323.2
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#AB37B9
secondary
#8BC884
accent
#DE4A5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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