#AB37B6#AB37B6

#AB37B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.209 H 324.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB37B6
RGBrgb(171, 55, 182)
HSLhsl(295, 54%, 46%)
HSVhsv(295, 70%, 71%)
CMYKcmyk(6%, 69.8%, 0%, 28.6%)
CIE-LABlab(45.32, 62.77, -44.02)
CIE-LCHlch(45.32, 76.67, 324.96°)
OKLaboklab(55.58% 0.1698 -0.1225)
OKLCHoklch(55.58% 0.209 324.2)
XYZxyz(26.6036, 14.7693, 45.6964)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B6 #42B637
analogous
#6C37B6 #AB37B6 #B63782
triadic
#AB37B6 #B6AB37 #37B6AB
tetradic
#AB37B6 #B66C37 #42B637 #3782B6
square
#AB37B6 #B66C37 #42B637 #3782B6
split-complementary
#AB37B6 #82B637 #37B66C
monochromatic
#531B58 #7F2987 #AB37B6 #C45CCE #D58BDC

Accessibility & contrast

On white

5.31
#AB37B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB37B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B6#FFFFFF#000000##FFFFFF
##AB37B61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362BA
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#AE4C73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab37b6;
/* rgb */ color: rgb(171, 55, 182);
/* oklch */ color: oklch(55.6% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#c878cc',
    500: '#ab37b6',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b6;
$custom-light: #c878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b6",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 294.803,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.20938,
    "h": 324.2
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#AB37B6
secondary
#88C682
accent
#DD4B57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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