#AB37BC#AB37BC

#AB37BC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.214 H 322.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB37BC
RGBrgb(171, 55, 188)
HSLhsl(292, 55%, 48%)
HSVhsv(292, 71%, 74%)
CMYKcmyk(9%, 70.7%, 0%, 26.3%)
CIE-LABlab(45.67, 63.84, -46.98)
CIE-LCHlch(45.67, 79.27, 323.65°)
OKLaboklab(55.95% 0.1696 -0.1312)
OKLCHoklch(55.95% 0.214 322.3)
XYZxyz(27.2369, 15.0227, 49.0322)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37BC #48BC37
analogous
#6937BC #AB37BC #BC378A
triadic
#AB37BC #BCAB37 #37BCAB
tetradic
#AB37BC #BC6937 #48BC37 #378ABC
square
#AB37BC #BC6937 #48BC37 #378ABC
split-complementary
#AB37BC #8ABC37 #37BC69
monochromatic
#551B5D #80298D #AB37BC #C260D0 #D48FDE

Accessibility & contrast

On white

5.24
#AB37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AB37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37BC#FFFFFF#000000##FFFFFF
##AB37BC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#AD4F76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37bc;
/* rgb */ color: rgb(171, 55, 188);
/* oklch */ color: oklch(55.9% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#c878d1',
    500: '#ab37bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab37bc;
$custom-light: #c878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37bc",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 292.331,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.2144,
    "h": 322.3
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#AB37BC
secondary
#8EC986
accent
#DE4A5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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