#AB37B2#AB37B2

#AB37B2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.206 H 325.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB37B2
RGBrgb(171, 55, 178)
HSLhsl(297, 53%, 46%)
HSVhsv(297, 69%, 70%)
CMYKcmyk(3.9%, 69.1%, 0%, 30.2%)
CIE-LABlab(45.09, 62.07, -42.03)
CIE-LCHlch(45.09, 74.96, 325.90°)
OKLaboklab(55.35% 0.1698 -0.1168)
OKLCHoklch(55.35% 0.206 325.5)
XYZxyz(26.1961, 14.6063, 43.5504)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37B2 #3EB237
analogous
#6D37B2 #AB37B2 #B2377C
triadic
#AB37B2 #B2AB37 #37B2AB
tetradic
#AB37B2 #B26D37 #3EB237 #377CB2
square
#AB37B2 #B26D37 #3EB237 #377CB2
split-complementary
#AB37B2 #7CB237 #37B26D
monochromatic
#511A54 #7E2983 #AB37B2 #C65ACC #D689DB

Accessibility & contrast

On white

5.36
#AB37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37B2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37B2#FFFFFF#000000##FFFFFF
##AB37B21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#AF4A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab37b2;
/* rgb */ color: rgb(171, 55, 178);
/* oklch */ color: oklch(55.3% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#c778c9',
    500: '#ab37b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab37b2;
$custom-light: #c778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37b2",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 296.585,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.20607,
    "h": 325.5
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#AB37B2
secondary
#84C580
accent
#DC4C54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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