#AB37B7#AB37B7

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

Color values

HEX#AB37B7
RGBrgb(171, 55, 183)
HSLhsl(294, 54%, 47%)
HSVhsv(294, 70%, 72%)
CMYKcmyk(6.6%, 69.9%, 0%, 28.2%)
CIE-LABlab(45.37, 62.95, -44.52)
CIE-LCHlch(45.37, 77.10, 324.73°)
OKLaboklab(55.64% 0.1698 -0.124)
OKLCHoklch(55.64% 0.21 323.9)
XYZxyz(26.7073, 14.8108, 46.2426)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B7 #43B737
analogous
#6B37B7 #AB37B7 #B73783
triadic
#AB37B7 #B7AB37 #37B7AB
tetradic
#AB37B7 #B76B37 #43B737 #3783B7
square
#AB37B7 #B76B37 #43B737 #3783B7
split-complementary
#AB37B7 #83B737 #37B76B
monochromatic
#531B59 #7F2988 #AB37B7 #C45DCE #D58CDC

Accessibility & contrast

On white

5.30
#AB37B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB37B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B7#FFFFFF#000000##FFFFFF
##AB37B71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1063BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#AE4D73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab37b7;
/* rgb */ color: rgb(171, 55, 183);
/* oklch */ color: oklch(55.6% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#c878cd',
    500: '#ab37b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b7;
$custom-light: #c878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b7",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 294.375,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.21022,
    "h": 323.9
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#AB37B7
secondary
#89C783
accent
#DD4B58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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