#AB39D3#AB39D3

#AB39D3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.232 H 315.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB39D3
RGBrgb(171, 57, 211)
HSLhsl(284, 64%, 53%)
HSVhsv(284, 73%, 83%)
CMYKcmyk(19%, 73%, 0%, 17.3%)
CIE-LABlab(47.35, 67.42, -57.59)
CIE-LCHlch(47.35, 88.67, 319.50°)
OKLaboklab(57.6% 0.1658 -0.1623)
OKLCHoklch(57.6% 0.232 315.6)
XYZxyz(30.0137, 16.2885, 63.1784)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39D3 #61D339
analogous
#5E39D3 #AB39D3 #D339AE
triadic
#AB39D3 #D3AB39 #39D3AB
tetradic
#AB39D3 #D35E39 #61D339 #39AED3
square
#AB39D3 #D35E39 #61D339 #39AED3
split-complementary
#AB39D3 #AED339 #39D35E
monochromatic
#5F1A77 #8726A9 #AB39D3 #C06BDE #D59DE9

Accessibility & contrast

On white

4.93
#AB39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39D3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39D3#FFFFFF#000000##FFFFFF
##AB39D31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3673D0
Tritanopia (blue-blind)
#A85A83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab39d3;
/* rgb */ color: rgb(171, 57, 211);
/* oklch */ color: oklch(57.6% 0.232 315.6);
Tailwind
colors: {
  custom: {
    50: '#c87ae1',
    500: '#ab39d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab39d3;
$custom-light: #c87ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39d3",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 284.416,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.23197,
    "h": 315.6
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#AB39D3
secondary
#A4D592
accent
#E7416C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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