#AB37AD#AB37AD

#AB37AD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.202 H 327.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB37AD
RGBrgb(171, 55, 173)
HSLhsl(299, 52%, 45%)
HSVhsv(299, 68%, 68%)
CMYKcmyk(1.2%, 68.2%, 0%, 32.2%)
CIE-LABlab(44.81, 61.21, -39.52)
CIE-LCHlch(44.81, 72.85, 327.15°)
OKLaboklab(55.06% 0.1698 -0.1095)
OKLCHoklch(55.06% 0.202 327.2)
XYZxyz(25.7032, 14.4092, 40.9545)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37AD #39AD37
analogous
#7037AD #AB37AD #AD3774
triadic
#AB37AD #ADAB37 #37ADAB
tetradic
#AB37AD #AD7037 #39AD37 #3774AD
square
#AB37AD #AD7037 #39AD37 #3774AD
split-complementary
#AB37AD #74AD37 #37AD70
monochromatic
#4F1950 #7D287F #AB37AD #C857CA #D786D8

Accessibility & contrast

On white

5.41
#AB37AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB37AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37AD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37AD#FFFFFF#000000##FFFFFF
##AB37AD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360B0
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#B0486E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab37ad;
/* rgb */ color: rgb(171, 55, 173);
/* oklch */ color: oklch(55.1% 0.202 327.2);
Tailwind
colors: {
  custom: {
    50: '#c778c6',
    500: '#ab37ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab37ad;
$custom-light: #c778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37ad",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 298.983,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.20198,
    "h": 327.2
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#AB37AD
secondary
#7FC27D
accent
#DB4D4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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