#AB39C7#AB39C7

#AB39C7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.222 H 318.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB39C7
RGBrgb(171, 57, 199)
HSLhsl(288, 56%, 50%)
HSVhsv(288, 71%, 78%)
CMYKcmyk(14.1%, 71.4%, 0%, 22%)
CIE-LABlab(46.59, 65.13, -51.90)
CIE-LCHlch(46.59, 83.28, 321.45°)
OKLaboklab(56.82% 0.167 -0.1456)
OKLCHoklch(56.82% 0.222 318.9)
XYZxyz(28.5651, 15.7090, 55.5493)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39C7 #55C739
analogous
#6439C7 #AB39C7 #C7399C
triadic
#AB39C7 #C7AB39 #39C7AB
tetradic
#AB39C7 #C76439 #55C739 #399CC7
square
#AB39C7 #C76439 #55C739 #399CC7
split-complementary
#AB39C7 #9CC739 #39C764
monochromatic
#591D68 #822B98 #AB39C7 #BF69D4 #D398E2

Accessibility & contrast

On white

5.07
#AB39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39C7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39C7#FFFFFF#000000##FFFFFF
##AB39C71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#AB557D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab39c7;
/* rgb */ color: rgb(171, 57, 199);
/* oklch */ color: oklch(56.8% 0.222 318.9);
Tailwind
colors: {
  custom: {
    50: '#c87ad9',
    500: '#ab39c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab39c7;
$custom-light: #c87ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39c7",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 288.169,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.22151,
    "h": 318.9
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#AB39C7
secondary
#9BCE8E
accent
#DF4966
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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