#AB37DB#AB37DB

#AB37DB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.0% C 0.241 H 313.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB37DB
RGBrgb(171, 55, 219)
HSLhsl(282, 69%, 54%)
HSVhsv(282, 75%, 86%)
CMYKcmyk(21.9%, 74.9%, 0%, 14.1%)
CIE-LABlab(47.63, 69.70, -61.71)
CIE-LCHlch(47.63, 93.09, 318.48°)
OKLaboklab(57.97% 0.1665 -0.1744)
OKLCHoklch(57.97% 0.241 313.7)
XYZxyz(30.9447, 16.5058, 68.5600)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37DB #67DB37
analogous
#5937DB #AB37DB #DB37B9
triadic
#AB37DB #DBAB37 #37DBAB
tetradic
#AB37DB #DB5937 #67DB37 #37B9DB
square
#AB37DB #DB5937 #67DB37 #37B9DB
split-complementary
#AB37DB #B9DB37 #37DB59
monochromatic
#621780 #8920B4 #AB37DB #C16BE4 #D79FEE

Accessibility & contrast

On white

4.88
#AB37DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB37DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37DB#FFFFFF#000000##FFFFFF
##AB37DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#A65C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab37db;
/* rgb */ color: rgb(171, 55, 219);
/* oklch */ color: oklch(58.0% 0.241 313.7);
Tailwind
colors: {
  custom: {
    50: '#c97ae7',
    500: '#ab37db',
    950: '#000000',
  },
}
SCSS
$custom: #ab37db;
$custom-light: #c97ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37db",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 219
  },
  "hsl": {
    "h": 282.439,
    "s": 69.492,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.24107,
    "h": 313.7
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#AB37DB
secondary
#A8DA94
accent
#EC3B6F
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB37DB

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

Preview Lab → · Contrast checker → · Palette generator →

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