#AB39C5#AB39C5

#AB39C5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.220 H 319.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB39C5
RGBrgb(171, 57, 197)
HSLhsl(289, 55%, 50%)
HSVhsv(289, 71%, 77%)
CMYKcmyk(13.2%, 71.1%, 0%, 22.7%)
CIE-LABlab(46.47, 64.75, -50.93)
CIE-LCHlch(46.47, 82.39, 321.81°)
OKLaboklab(56.69% 0.1671 -0.1428)
OKLCHoklch(56.69% 0.22 319.5)
XYZxyz(28.3345, 15.6168, 54.3343)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39C5 #53C539
analogous
#6539C5 #AB39C5 #C53999
triadic
#AB39C5 #C5AB39 #39C5AB
tetradic
#AB39C5 #C56539 #53C539 #3999C5
square
#AB39C5 #C56539 #53C539 #3999C5
split-complementary
#AB39C5 #99C539 #39C565
monochromatic
#591E66 #822B96 #AB39C5 #BF68D3 #D397E1

Accessibility & contrast

On white

5.09
#AB39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39C5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39C5#FFFFFF#000000##FFFFFF
##AB39C51.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#AB547C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab39c5;
/* rgb */ color: rgb(171, 57, 197);
/* oklch */ color: oklch(56.7% 0.220 319.5);
Tailwind
colors: {
  custom: {
    50: '#c87ad7',
    500: '#ab39c5',
    950: '#000000',
  },
}
SCSS
$custom: #ab39c5;
$custom-light: #c87ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39c5",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 288.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.21979,
    "h": 319.5
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#AB39C5
secondary
#99CD8D
accent
#DE4965
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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