#AB37CF#AB37CF

#AB37CF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.231 H 316.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB37CF
RGBrgb(171, 55, 207)
HSLhsl(286, 61%, 51%)
HSVhsv(286, 73%, 81%)
CMYKcmyk(17.4%, 73.4%, 0%, 18.8%)
CIE-LABlab(46.84, 67.38, -56.11)
CIE-LCHlch(46.84, 87.68, 320.21°)
OKLaboklab(57.16% 0.1681 -0.1579)
OKLCHoklch(57.16% 0.231 316.8)
XYZxyz(29.4216, 15.8965, 60.5379)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB37CF #5BCF37
analogous
#5F37CF #AB37CF #CF37A7
triadic
#AB37CF #CFAB37 #37CFAB
tetradic
#AB37CF #CF5F37 #5BCF37 #37A7CF
square
#AB37CF #CF5F37 #5BCF37 #37A7CF
split-complementary
#AB37CF #A7CF37 #37CF5F
monochromatic
#5C1B71 #8527A2 #AB37CF #C068DB #D49AE7

Accessibility & contrast

On white

5.03
#AB37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB37CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB37CF#FFFFFF#000000##FFFFFF
##AB37CF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#A95781
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab37cf;
/* rgb */ color: rgb(171, 55, 207);
/* oklch */ color: oklch(57.2% 0.231 316.8);
Tailwind
colors: {
  custom: {
    50: '#c879de',
    500: '#ab37cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab37cf;
$custom-light: #c879de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab37cf",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 285.789,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.23064,
    "h": 316.8
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#AB37CF
secondary
#9FD28F
accent
#E4436A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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