#AB37C4#AB37C4

#AB37C4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.221 H 319.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB37C4
RGBrgb(171, 55, 196)
HSLhsl(289, 56%, 49%)
HSVhsv(289, 72%, 77%)
CMYKcmyk(12.8%, 71.9%, 0%, 23.1%)
CIE-LABlab(46.15, 65.31, -50.87)
CIE-LCHlch(46.15, 82.78, 322.09°)
OKLaboklab(56.44% 0.1691 -0.1425)
OKLCHoklch(56.44% 0.221 319.9)
XYZxyz(28.1233, 15.3772, 53.7006)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37C4 #50C437
analogous
#6537C4 #AB37C4 #C43797
triadic
#AB37C4 #C4AB37 #37C4AB
tetradic
#AB37C4 #C46537 #50C437 #3797C4
square
#AB37C4 #C46537 #50C437 #3797C4
split-complementary
#AB37C4 #97C437 #37C465
monochromatic
#581C64 #812A94 #AB37C4 #C065D4 #D394E1

Accessibility & contrast

On white

5.15
#AB37C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB37C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37C4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37C4#FFFFFF#000000##FFFFFF
##AB37C41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#AB527A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab37c4;
/* rgb */ color: rgb(171, 55, 196);
/* oklch */ color: oklch(56.4% 0.221 319.9);
Tailwind
colors: {
  custom: {
    50: '#c879d6',
    500: '#ab37c4',
    950: '#000000',
  },
}
SCSS
$custom: #ab37c4;
$custom-light: #c879d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37c4",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 289.362,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.22119,
    "h": 319.9
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#AB37C4
secondary
#96CC8B
accent
#DF4863
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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