#AB37E5#AB37E5

#AB37E5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.250 H 311.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB37E5
RGBrgb(171, 55, 229)
HSLhsl(280, 77%, 56%)
HSVhsv(280, 76%, 90%)
CMYKcmyk(25.3%, 76%, 0%, 10.2%)
CIE-LABlab(48.32, 71.68, -66.28)
CIE-LCHlch(48.32, 97.63, 317.24°)
OKLaboklab(58.67% 0.1648 -0.1878)
OKLCHoklch(58.67% 0.25 311.3)
XYZxyz(32.3009, 17.0483, 75.7026)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37E5 #71E537
analogous
#5437E5 #AB37E5 #E537C8
triadic
#AB37E5 #E5AB37 #37E5AB
tetradic
#AB37E5 #E55437 #71E537 #37C8E5
square
#AB37E5 #E55437 #71E537 #37C8E5
split-complementary
#AB37E5 #C8E537 #37E554
monochromatic
#66138F #8C1AC5 #AB37E5 #C26DEC #D8A3F3

Accessibility & contrast

On white

4.76
#AB37E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB37E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37E5#FFFFFF#000000##FFFFFF
##AB37E51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0C75E1
Tritanopia (blue-blind)
#A3618D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab37e5;
/* rgb */ color: rgb(171, 55, 229);
/* oklch */ color: oklch(58.7% 0.250 311.3);
Tailwind
colors: {
  custom: {
    50: '#c97aee',
    500: '#ab37e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab37e5;
$custom-light: #c97aee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37e5",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 280,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.24983,
    "h": 311.3
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#AB37E5
secondary
#B0E098
accent
#F43474
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB37E5

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

Preview Lab → · Contrast checker → · Palette generator →

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