#AB37D3#AB37D3

#AB37D3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.234 H 315.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB37D3
RGBrgb(171, 55, 211)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 74%, 83%)
CMYKcmyk(19%, 73.9%, 0%, 17.3%)
CIE-LABlab(47.10, 68.14, -58.00)
CIE-LCHlch(47.10, 89.48, 319.60°)
OKLaboklab(57.42% 0.1676 -0.1634)
OKLCHoklch(57.42% 0.234 315.7)
XYZxyz(29.9168, 16.0946, 63.1461)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37D3 #5FD337
analogous
#5D37D3 #AB37D3 #D337AD
triadic
#AB37D3 #D3AB37 #37D3AB
tetradic
#AB37D3 #D35D37 #5FD337 #37ADD3
square
#AB37D3 #D35D37 #5FD337 #37ADD3
split-complementary
#AB37D3 #ADD337 #37D35D
monochromatic
#5E1A76 #8625A8 #AB37D3 #C069DE #D59BE9

Accessibility & contrast

On white

4.98
#AB37D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB37D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37D3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37D3#FFFFFF#000000##FFFFFF
##AB37D31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#A85983
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab37d3;
/* rgb */ color: rgb(171, 55, 211);
/* oklch */ color: oklch(57.4% 0.234 315.7);
Tailwind
colors: {
  custom: {
    50: '#c879e1',
    500: '#ab37d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab37d3;
$custom-light: #c879e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37d3",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 284.615,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57423,
    "c": 0.23411,
    "h": 315.7
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#AB37D3
secondary
#A2D591
accent
#E7416B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB37D3

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

Preview Lab → · Contrast checker → · Palette generator →

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