#AB37C3#AB37C3

#AB37C3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.220 H 320.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB37C3
RGBrgb(171, 55, 195)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 72%, 76%)
CMYKcmyk(12.3%, 71.8%, 0%, 23.5%)
CIE-LABlab(46.09, 65.12, -50.38)
CIE-LCHlch(46.09, 82.34, 322.27°)
OKLaboklab(56.38% 0.1692 -0.1411)
OKLCHoklch(56.38% 0.22 320.2)
XYZxyz(28.0099, 15.3319, 53.1031)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37C3 #4FC337
analogous
#6537C3 #AB37C3 #C33795
triadic
#AB37C3 #C3AB37 #37C3AB
tetradic
#AB37C3 #C36537 #4FC337 #3795C3
square
#AB37C3 #C36537 #4FC337 #3795C3
split-complementary
#AB37C3 #95C337 #37C365
monochromatic
#571C64 #812A93 #AB37C3 #C064D3 #D494E1

Accessibility & contrast

On white

5.16
#AB37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37C3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37C3#FFFFFF#000000##FFFFFF
##AB37C31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#AC527A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab37c3;
/* rgb */ color: rgb(171, 55, 195);
/* oklch */ color: oklch(56.4% 0.220 320.2);
Tailwind
colors: {
  custom: {
    50: '#c879d6',
    500: '#ab37c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab37c3;
$custom-light: #c879d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37c3",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 289.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.22034,
    "h": 320.2
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#AB37C3
secondary
#95CC8A
accent
#DF4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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