#AB37DE#AB37DE

#AB37DE is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.244 H 312.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB37DE
RGBrgb(171, 55, 222)
HSLhsl(282, 72%, 54%)
HSVhsv(282, 75%, 87%)
CMYKcmyk(23%, 75.2%, 0%, 12.9%)
CIE-LABlab(47.84, 70.29, -63.09)
CIE-LCHlch(47.84, 94.45, 318.09°)
OKLaboklab(58.18% 0.166 -0.1784)
OKLCHoklch(58.18% 0.244 312.9)
XYZxyz(31.3432, 16.6652, 70.6587)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37DE #6ADE37
analogous
#5837DE #AB37DE #DE37BD
triadic
#AB37DE #DEAB37 #37DEAB
tetradic
#AB37DE #DE5837 #6ADE37 #37BDDE
square
#AB37DE #DE5837 #6ADE37 #37BDDE
split-complementary
#AB37DE #BDDE37 #37DE58
monochromatic
#631685 #8A1FB9 #AB37DE #C16CE7 #D7A0EF

Accessibility & contrast

On white

4.85
#AB37DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB37DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37DE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37DE#FFFFFF#000000##FFFFFF
##AB37DE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#A55E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab37de;
/* rgb */ color: rgb(171, 55, 222);
/* oklch */ color: oklch(58.2% 0.244 312.9);
Tailwind
colors: {
  custom: {
    50: '#c97ae9',
    500: '#ab37de',
    950: '#000000',
  },
}
SCSS
$custom: #ab37de;
$custom-light: #c97ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37de",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 222
  },
  "hsl": {
    "h": 281.677,
    "s": 71.674,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.24369,
    "h": 312.9
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#AB37DE
secondary
#ABDC95
accent
#EE3971
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB37DE

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

Preview Lab → · Contrast checker → · Palette generator →

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