#AB39BA#AB39BA

#AB39BA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.210 H 322.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB39BA
RGBrgb(171, 57, 186)
HSLhsl(293, 53%, 48%)
HSVhsv(293, 69%, 73%)
CMYKcmyk(8.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(45.81, 62.73, -45.57)
CIE-LCHlch(45.81, 77.54, 324.00°)
OKLaboklab(56.01% 0.1676 -0.1271)
OKLCHoklch(56.01% 0.21 322.8)
XYZxyz(27.1198, 15.1309, 47.9369)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39BA #48BA39
analogous
#6A39BA #AB39BA #BA3989
triadic
#AB39BA #BAAB39 #39BAAB
tetradic
#AB39BA #BA6A39 #48BA39 #3989BA
square
#AB39BA #BA6A39 #48BA39 #3989BA
split-complementary
#AB39BA #89BA39 #39BA6A
monochromatic
#551C5C #802B8B #AB39BA #C261CF #D490DD

Accessibility & contrast

On white

5.22
#AB39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39BA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39BA#FFFFFF#000000##FFFFFF
##AB39BA1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#AD4F75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab39ba;
/* rgb */ color: rgb(171, 57, 186);
/* oklch */ color: oklch(56.0% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#c879cf',
    500: '#ab39ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab39ba;
$custom-light: #c879cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39ba",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 293.023,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.21037,
    "h": 322.8
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#AB39BA
secondary
#8EC887
accent
#DC4B5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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