#AB37C7#AB37C7

#AB37C7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.224 H 319.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB37C7
RGBrgb(171, 55, 199)
HSLhsl(288, 57%, 50%)
HSVhsv(288, 72%, 78%)
CMYKcmyk(14.1%, 72.4%, 0%, 22%)
CIE-LABlab(46.33, 65.86, -52.31)
CIE-LCHlch(46.33, 84.11, 321.54°)
OKLaboklab(56.64% 0.1689 -0.1468)
OKLCHoklch(56.64% 0.224 319)
XYZxyz(28.4682, 15.5152, 55.5169)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37C7 #53C737
analogous
#6337C7 #AB37C7 #C7379B
triadic
#AB37C7 #C7AB37 #37C7AB
tetradic
#AB37C7 #C76337 #53C737 #379BC7
square
#AB37C7 #C76337 #53C737 #379BC7
split-complementary
#AB37C7 #9BC737 #37C763
monochromatic
#591C67 #822A97 #AB37C7 #BF66D5 #D396E2

Accessibility & contrast

On white

5.12
#AB37C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB37C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37C7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37C7#FFFFFF#000000##FFFFFF
##AB37C71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#AB547C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab37c7;
/* rgb */ color: rgb(171, 55, 199);
/* oklch */ color: oklch(56.6% 0.224 319.0);
Tailwind
colors: {
  custom: {
    50: '#c879d9',
    500: '#ab37c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab37c7;
$custom-light: #c879d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37c7",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 288.333,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.22375,
    "h": 319
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#AB37C7
secondary
#99CD8C
accent
#E04865
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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