#AB37BF#AB37BF

#AB37BF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.217 H 321.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB37BF
RGBrgb(171, 55, 191)
HSLhsl(291, 55%, 48%)
HSVhsv(291, 71%, 75%)
CMYKcmyk(10.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(45.84, 64.39, -48.44)
CIE-LCHlch(45.84, 80.58, 323.04°)
OKLaboklab(56.13% 0.1695 -0.1355)
OKLCHoklch(56.13% 0.217 321.4)
XYZxyz(27.5637, 15.1534, 50.7531)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37BF #4BBF37
analogous
#6737BF #AB37BF #BF378F
triadic
#AB37BF #BFAB37 #37BFAB
tetradic
#AB37BF #BF6737 #4BBF37 #378FBF
square
#AB37BF #BF6737 #4BBF37 #378FBF
split-complementary
#AB37BF #8FBF37 #37BF67
monochromatic
#561C60 #80298F #AB37BF #C162D2 #D491DF

Accessibility & contrast

On white

5.21
#AB37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37BF#FFFFFF#000000##FFFFFF
##AB37BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#AD5078
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab37bf;
/* rgb */ color: rgb(171, 55, 191);
/* oklch */ color: oklch(56.1% 0.217 321.4);
Tailwind
colors: {
  custom: {
    50: '#c879d3',
    500: '#ab37bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab37bf;
$custom-light: #c879d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37bf",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 291.176,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.21694,
    "h": 321.4
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#AB37BF
secondary
#91CA88
accent
#DF495F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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