#AB39AA#AB39AA

#AB39AA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.197 H 328.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB39AA
RGBrgb(171, 57, 170)
HSLhsl(301, 50%, 45%)
HSVhsv(301, 67%, 67%)
CMYKcmyk(0%, 66.7%, 0.6%, 32.9%)
CIE-LABlab(44.93, 59.93, -37.57)
CIE-LCHlch(44.93, 70.73, 327.92°)
OKLaboklab(55.09% 0.1675 -0.1038)
OKLCHoklch(55.09% 0.197 328.2)
XYZxyz(25.5131, 14.4882, 39.4751)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39AA #39AB3A
analogous
#7339AB #AB39AA #AB3971
triadic
#AB39AA #AAAB39 #39AAAB
tetradic
#AB39AA #AB7339 #39AB3A #3971AB
square
#AB39AA #AB7339 #39AB3A #3971AB
split-complementary
#AB39AA #71AB39 #39AB73
monochromatic
#4F1A4F #7D2A7C #AB39AA #C859C7 #D787D6

Accessibility & contrast

On white

5.39
#AB39AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB39AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39AA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39AA#FFFFFF#000000##FFFFFF
##AB39AA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#B0486D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab39aa;
/* rgb */ color: rgb(171, 57, 170);
/* oklch */ color: oklch(55.1% 0.197 328.2);
Tailwind
colors: {
  custom: {
    50: '#c779c4',
    500: '#ab39aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab39aa;
$custom-light: #c779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39aa",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 300.526,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.19705,
    "h": 328.2
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#AB39AA
secondary
#7FC17F
accent
#DA504E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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