#AB37BD#AB37BD

#AB37BD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.215 H 322.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB37BD
RGBrgb(171, 55, 189)
HSLhsl(292, 55%, 48%)
HSVhsv(292, 71%, 74%)
CMYKcmyk(9.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(45.72, 64.03, -47.47)
CIE-LCHlch(45.72, 79.70, 323.45°)
OKLaboklab(56.01% 0.1696 -0.1326)
OKLCHoklch(56.01% 0.215 322)
XYZxyz(27.3451, 15.0659, 49.6019)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37BD #49BD37
analogous
#6837BD #AB37BD #BD378C
triadic
#AB37BD #BDAB37 #37BDAB
tetradic
#AB37BD #BD6837 #49BD37 #378CBD
square
#AB37BD #BD6837 #49BD37 #378CBD
split-complementary
#AB37BD #8CBD37 #37BD68
monochromatic
#551B5E #80298E #AB37BD #C260D1 #D490DF

Accessibility & contrast

On white

5.23
#AB37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37BD#FFFFFF#000000##FFFFFF
##AB37BD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#AD4F77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37bd;
/* rgb */ color: rgb(171, 55, 189);
/* oklch */ color: oklch(56.0% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#c878d1',
    500: '#ab37bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab37bd;
$custom-light: #c878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37bd",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 291.94,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.21525,
    "h": 322
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#AB37BD
secondary
#8FC986
accent
#DE4A5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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