#AB37C0#AB37C0

#AB37C0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.218 H 321.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB37C0
RGBrgb(171, 55, 192)
HSLhsl(291, 55%, 48%)
HSVhsv(291, 71%, 75%)
CMYKcmyk(10.9%, 71.4%, 0%, 24.7%)
CIE-LABlab(45.90, 64.57, -48.93)
CIE-LCHlch(45.90, 81.02, 322.85°)
OKLaboklab(56.19% 0.1694 -0.1369)
OKLCHoklch(56.19% 0.218 321.1)
XYZxyz(27.6741, 15.1975, 51.3347)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37C0 #4CC037
analogous
#6637C0 #AB37C0 #C03790
triadic
#AB37C0 #C0AB37 #37C0AB
tetradic
#AB37C0 #C06637 #4CC037 #3790C0
square
#AB37C0 #C06637 #4CC037 #3790C0
split-complementary
#AB37C0 #90C037 #37C066
monochromatic
#561C61 #812990 #AB37C0 #C162D2 #D492E0

Accessibility & contrast

On white

5.20
#AB37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37C0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37C0#FFFFFF#000000##FFFFFF
##AB37C01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#AC5178
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab37c0;
/* rgb */ color: rgb(171, 55, 192);
/* oklch */ color: oklch(56.2% 0.218 321.1);
Tailwind
colors: {
  custom: {
    50: '#c879d4',
    500: '#ab37c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab37c0;
$custom-light: #c879d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37c0",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 290.803,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.21778,
    "h": 321.1
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#AB37C0
secondary
#92CB88
accent
#DF4960
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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