#AB37BE#AB37BE

#AB37BE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.216 H 321.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB37BE
RGBrgb(171, 55, 190)
HSLhsl(292, 55%, 48%)
HSVhsv(292, 71%, 75%)
CMYKcmyk(10%, 71.1%, 0%, 25.5%)
CIE-LABlab(45.78, 64.21, -47.96)
CIE-LCHlch(45.78, 80.14, 323.24°)
OKLaboklab(56.07% 0.1695 -0.134)
OKLCHoklch(56.07% 0.216 321.7)
XYZxyz(27.4540, 15.1095, 50.1756)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37BE #4ABE37
analogous
#6837BE #AB37BE #BE378D
triadic
#AB37BE #BEAB37 #37BEAB
tetradic
#AB37BE #BE6837 #4ABE37 #378DBE
square
#AB37BE #BE6837 #4ABE37 #378DBE
split-complementary
#AB37BE #8DBE37 #37BE68
monochromatic
#561C5F #80298F #AB37BE #C161D1 #D490DF

Accessibility & contrast

On white

5.22
#AB37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37BE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37BE#FFFFFF#000000##FFFFFF
##AB37BE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#AD5077
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab37be;
/* rgb */ color: rgb(171, 55, 190);
/* oklch */ color: oklch(56.1% 0.216 321.7);
Tailwind
colors: {
  custom: {
    50: '#c879d2',
    500: '#ab37be',
    950: '#000000',
  },
}
SCSS
$custom: #ab37be;
$custom-light: #c879d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37be",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 291.556,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.21609,
    "h": 321.7
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#AB37BE
secondary
#90CA87
accent
#DE495E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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