#AB39AC#AB39AC

#AB39AC is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.2% C 0.199 H 327.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB39AC
RGBrgb(171, 57, 172)
HSLhsl(299, 50%, 45%)
HSVhsv(299, 67%, 67%)
CMYKcmyk(0.6%, 66.9%, 0%, 32.5%)
CIE-LABlab(45.03, 60.27, -38.58)
CIE-LCHlch(45.03, 71.56, 327.37°)
OKLaboklab(55.2% 0.1676 -0.1068)
OKLCHoklch(55.2% 0.199 327.5)
XYZxyz(25.7037, 14.5645, 40.4791)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39AC #3AAC39
analogous
#7139AC #AB39AC #AC3974
triadic
#AB39AC #ACAB39 #39ACAB
tetradic
#AB39AC #AC7139 #3AAC39 #3974AC
square
#AB39AC #AC7139 #3AAC39 #3974AC
split-complementary
#AB39AC #74AC39 #39AC71
monochromatic
#501B50 #7D2A7E #AB39AC #C75AC8 #D788D8

Accessibility & contrast

On white

5.37
#AB39AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB39AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39AC#FFFFFF#000000##FFFFFF
##AB39AC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B0496E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab39ac;
/* rgb */ color: rgb(171, 57, 172);
/* oklch */ color: oklch(55.2% 0.199 327.5);
Tailwind
colors: {
  custom: {
    50: '#c779c5',
    500: '#ab39ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab39ac;
$custom-light: #c779c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39ac",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 299.478,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.552,
    "c": 0.19868,
    "h": 327.5
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#AB39AC
secondary
#80C27F
accent
#DA4E4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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