#AB37D7#AB37D7

#AB37D7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.238 H 314.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB37D7
RGBrgb(171, 55, 215)
HSLhsl(284, 67%, 53%)
HSVhsv(284, 74%, 84%)
CMYKcmyk(20.5%, 74.4%, 0%, 15.7%)
CIE-LABlab(47.36, 68.92, -59.86)
CIE-LCHlch(47.36, 91.28, 319.02°)
OKLaboklab(57.69% 0.1671 -0.1689)
OKLCHoklch(57.69% 0.238 314.7)
XYZxyz(30.4245, 16.2977, 65.8199)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37D7 #63D737
analogous
#5B37D7 #AB37D7 #D737B3
triadic
#AB37D7 #D7AB37 #37D7AB
tetradic
#AB37D7 #D75B37 #63D737 #37B3D7
square
#AB37D7 #D75B37 #63D737 #37B3D7
split-complementary
#AB37D7 #B3D737 #37D75B
monochromatic
#60197B #8823AE #AB37D7 #C06AE1 #D69DEB

Accessibility & contrast

On white

4.93
#AB37D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB37D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37D7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37D7#FFFFFF#000000##FFFFFF
##AB37D71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#A75B85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab37d7;
/* rgb */ color: rgb(171, 55, 215);
/* oklch */ color: oklch(57.7% 0.238 314.7);
Tailwind
colors: {
  custom: {
    50: '#c979e4',
    500: '#ab37d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab37d7;
$custom-light: #c979e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37d7",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 283.5,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.23758,
    "h": 314.7
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#AB37D7
secondary
#A5D792
accent
#EA3E6D
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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