#AB37CD#AB37CD

#AB37CD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.229 H 317.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB37CD
RGBrgb(171, 55, 205)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 73%, 80%)
CMYKcmyk(16.6%, 73.2%, 0%, 19.6%)
CIE-LABlab(46.71, 66.99, -55.17)
CIE-LCHlch(46.71, 86.79, 320.53°)
OKLaboklab(57.02% 0.1683 -0.1551)
OKLCHoklch(57.02% 0.229 317.3)
XYZxyz(29.1786, 15.7993, 59.2584)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37CD #59CD37
analogous
#6037CD #AB37CD #CD37A4
triadic
#AB37CD #CDAB37 #37CDAB
tetradic
#AB37CD #CD6037 #59CD37 #37A4CD
square
#AB37CD #CD6037 #59CD37 #37A4CD
split-complementary
#AB37CD #A4CD37 #37CD60
monochromatic
#5B1C6E #84289F #AB37CD #C068D9 #D499E5

Accessibility & contrast

On white

5.05
#AB37CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB37CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37CD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37CD#FFFFFF#000000##FFFFFF
##AB37CD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#A9567F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab37cd;
/* rgb */ color: rgb(171, 55, 205);
/* oklch */ color: oklch(57.0% 0.229 317.3);
Tailwind
colors: {
  custom: {
    50: '#c879dd',
    500: '#ab37cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab37cd;
$custom-light: #c879dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37cd",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 286.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.22892,
    "h": 317.3
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#AB37CD
secondary
#9ED18F
accent
#E34569
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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