#AB37B4#AB37B4

#AB37B4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.208 H 324.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB37B4
RGBrgb(171, 55, 180)
HSLhsl(296, 53%, 46%)
HSVhsv(296, 69%, 71%)
CMYKcmyk(5%, 69.4%, 0%, 29.4%)
CIE-LABlab(45.20, 62.42, -43.03)
CIE-LCHlch(45.20, 75.81, 325.42°)
OKLaboklab(55.47% 0.1698 -0.1197)
OKLCHoklch(55.47% 0.208 324.8)
XYZxyz(26.3983, 14.6872, 44.6156)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B4 #40B437
analogous
#6C37B4 #AB37B4 #B4377E
triadic
#AB37B4 #B4AB37 #37B4AB
tetradic
#AB37B4 #B46C37 #40B437 #377EB4
square
#AB37B4 #B46C37 #40B437 #377EB4
split-complementary
#AB37B4 #7EB437 #37B46C
monochromatic
#521A56 #7E2985 #AB37B4 #C55BCD #D58ADB

Accessibility & contrast

On white

5.33
#AB37B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB37B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B4#FFFFFF#000000##FFFFFF
##AB37B41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#AF4B72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab37b4;
/* rgb */ color: rgb(171, 55, 180);
/* oklch */ color: oklch(55.5% 0.208 324.8);
Tailwind
colors: {
  custom: {
    50: '#c878cb',
    500: '#ab37b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b4;
$custom-light: #c878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b4",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 295.68,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.20772,
    "h": 324.8
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#AB37B4
secondary
#86C681
accent
#DD4B56
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AB37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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