#AB37CE#AB37CE

#AB37CE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.230 H 317.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB37CE
RGBrgb(171, 55, 206)
HSLhsl(286, 61%, 51%)
HSVhsv(286, 73%, 81%)
CMYKcmyk(17%, 73.3%, 0%, 19.2%)
CIE-LABlab(46.77, 67.18, -55.64)
CIE-LCHlch(46.77, 87.23, 320.37°)
OKLaboklab(57.09% 0.1682 -0.1565)
OKLCHoklch(57.09% 0.23 317.1)
XYZxyz(29.2997, 15.8478, 59.8961)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37CE #5ACE37
analogous
#5F37CE #AB37CE #CE37A5
triadic
#AB37CE #CEAB37 #37CEAB
tetradic
#AB37CE #CE5F37 #5ACE37 #37A5CE
square
#AB37CE #CE5F37 #5ACE37 #37A5CE
split-complementary
#AB37CE #A5CE37 #37CE5F
monochromatic
#5C1B6F #8427A0 #AB37CE #C068DA #D499E6

Accessibility & contrast

On white

5.04
#AB37CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB37CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37CE#FFFFFF#000000##FFFFFF
##AB37CE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#A95780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab37ce;
/* rgb */ color: rgb(171, 55, 206);
/* oklch */ color: oklch(57.1% 0.230 317.1);
Tailwind
colors: {
  custom: {
    50: '#c879de',
    500: '#ab37ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab37ce;
$custom-light: #c879de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37ce",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 286.093,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.22978,
    "h": 317.1
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#AB37CE
secondary
#9FD28F
accent
#E44469
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB37CE

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

Preview Lab → · Contrast checker → · Palette generator →

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