#AB37AF#AB37AF

#AB37AF is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.204 H 326.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB37AF
RGBrgb(171, 55, 175)
HSLhsl(298, 52%, 45%)
HSVhsv(298, 69%, 69%)
CMYKcmyk(2.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(44.92, 61.55, -40.53)
CIE-LCHlch(44.92, 73.69, 326.64°)
OKLaboklab(55.18% 0.1698 -0.1124)
OKLCHoklch(55.18% 0.204 326.5)
XYZxyz(25.8982, 14.4872, 41.9814)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37AF #3BAF37
analogous
#6F37AF #AB37AF #AF3777
triadic
#AB37AF #AFAB37 #37AFAB
tetradic
#AB37AF #AF6F37 #3BAF37 #3777AF
square
#AB37AF #AF6F37 #3BAF37 #3777AF
split-complementary
#AB37AF #77AF37 #37AF6F
monochromatic
#501A52 #7D2880 #AB37AF #C759CB #D787D9

Accessibility & contrast

On white

5.39
#AB37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37AF#FFFFFF#000000##FFFFFF
##AB37AF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#B0496F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab37af;
/* rgb */ color: rgb(171, 55, 175);
/* oklch */ color: oklch(55.2% 0.204 326.5);
Tailwind
colors: {
  custom: {
    50: '#c778c7',
    500: '#ab37af',
    950: '#000000',
  },
}
SCSS
$custom: #ab37af;
$custom-light: #c778c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37af",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 298,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.2036,
    "h": 326.5
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#AB37AF
secondary
#81C37F
accent
#DC4C51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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