#AB37DA#AB37DA

#AB37DA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.240 H 313.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB37DA
RGBrgb(171, 55, 218)
HSLhsl(283, 69%, 54%)
HSVhsv(283, 75%, 85%)
CMYKcmyk(21.6%, 74.8%, 0%, 14.5%)
CIE-LABlab(47.56, 69.50, -61.25)
CIE-LCHlch(47.56, 92.64, 318.61°)
OKLaboklab(57.9% 0.1666 -0.173)
OKLCHoklch(57.9% 0.24 313.9)
XYZxyz(30.8135, 16.4533, 67.8687)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37DA #66DA37
analogous
#5937DA #AB37DA #DA37B8
triadic
#AB37DA #DAAB37 #37DAAB
tetradic
#AB37DA #DA5937 #66DA37 #37B8DA
square
#AB37DA #DA5937 #66DA37 #37B8DA
split-complementary
#AB37DA #B8DA37 #37DA59
monochromatic
#61187F #8921B3 #AB37DA #C16BE4 #D69EED

Accessibility & contrast

On white

4.89
#AB37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AB37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37DA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37DA#FFFFFF#000000##FFFFFF
##AB37DA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#2973D7
Tritanopia (blue-blind)
#A65C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab37da;
/* rgb */ color: rgb(171, 55, 218);
/* oklch */ color: oklch(57.9% 0.240 313.9);
Tailwind
colors: {
  custom: {
    50: '#c97ae6',
    500: '#ab37da',
    950: '#000000',
  },
}
SCSS
$custom: #ab37da;
$custom-light: #c97ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37da",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 282.699,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.579,
    "c": 0.2402,
    "h": 313.9
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#AB37DA
secondary
#A8D993
accent
#EC3C6F
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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