#AB37BA#AB37BA

#AB37BA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.213 H 322.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB37BA
RGBrgb(171, 55, 186)
HSLhsl(293, 54%, 47%)
HSVhsv(293, 70%, 73%)
CMYKcmyk(8.1%, 70.4%, 0%, 27.1%)
CIE-LABlab(45.55, 63.48, -46.00)
CIE-LCHlch(45.55, 78.40, 324.07°)
OKLaboklab(55.82% 0.1697 -0.1283)
OKLCHoklch(55.82% 0.213 322.9)
XYZxyz(27.0228, 14.9370, 47.9046)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37BA #46BA37
analogous
#6A37BA #AB37BA #BA3787
triadic
#AB37BA #BAAB37 #37BAAB
tetradic
#AB37BA #BA6A37 #46BA37 #3787BA
square
#AB37BA #BA6A37 #46BA37 #3787BA
split-complementary
#AB37BA #87BA37 #37BA6A
monochromatic
#541B5C #80298B #AB37BA #C35FD0 #D48EDE

Accessibility & contrast

On white

5.27
#AB37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37BA#FFFFFF#000000##FFFFFF
##AB37BA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#AE4E75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37ba;
/* rgb */ color: rgb(171, 55, 186);
/* oklch */ color: oklch(55.8% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#c878cf',
    500: '#ab37ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab37ba;
$custom-light: #c878cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37ba",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 293.13,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.21272,
    "h": 322.9
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#AB37BA
secondary
#8CC885
accent
#DE4A5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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