#AB39B0#AB39B0

#AB39B0 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.202 H 326.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB39B0
RGBrgb(171, 57, 176)
HSLhsl(297, 51%, 46%)
HSVhsv(297, 68%, 69%)
CMYKcmyk(2.8%, 67.6%, 0%, 31%)
CIE-LABlab(45.25, 60.96, -40.60)
CIE-LCHlch(45.25, 73.24, 326.34°)
OKLaboklab(55.43% 0.1677 -0.1126)
OKLCHoklch(55.43% 0.202 326.1)
XYZxyz(26.0937, 14.7205, 42.5328)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B0 #3EB039
analogous
#6F39B0 #AB39B0 #B03979
triadic
#AB39B0 #B0AB39 #39B0AB
tetradic
#AB39B0 #B06F39 #3EB039 #3979B0
square
#AB39B0 #B06F39 #3EB039 #3979B0
split-complementary
#AB39B0 #79B039 #39B06F
monochromatic
#511B54 #7E2A82 #AB39B0 #C65CCA #D68AD9

Accessibility & contrast

On white

5.32
#AB39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB39B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39B0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B0#FFFFFF#000000##FFFFFF
##AB39B01.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B3
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#AF4B70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab39b0;
/* rgb */ color: rgb(171, 57, 176);
/* oklch */ color: oklch(55.4% 0.202 326.1);
Tailwind
colors: {
  custom: {
    50: '#c779c8',
    500: '#ab39b0',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b0;
$custom-light: #c779c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b0",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 297.479,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.20198,
    "h": 326.1
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#AB39B0
secondary
#84C481
accent
#DB4D53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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