#AB39BD#AB39BD

#AB39BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.213 H 321.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB39BD
RGBrgb(171, 57, 189)
HSLhsl(292, 54%, 48%)
HSVhsv(292, 70%, 74%)
CMYKcmyk(9.5%, 69.8%, 0%, 25.9%)
CIE-LABlab(45.99, 63.28, -47.05)
CIE-LCHlch(45.99, 78.85, 323.37°)
OKLaboklab(56.19% 0.1675 -0.1314)
OKLCHoklch(56.19% 0.213 321.9)
XYZxyz(27.4420, 15.2598, 49.6342)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39BD #4BBD39
analogous
#6939BD #AB39BD #BD398D
triadic
#AB39BD #BDAB39 #39BDAB
tetradic
#AB39BD #BD6939 #4BBD39 #398DBD
square
#AB39BD #BD6939 #4BBD39 #398DBD
split-complementary
#AB39BD #8DBD39 #39BD69
monochromatic
#561D5F #802B8E #AB39BD #C163D0 #D492DE

Accessibility & contrast

On white

5.18
#AB39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39BD#FFFFFF#000000##FFFFFF
##AB39BD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#AD5177
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab39bd;
/* rgb */ color: rgb(171, 57, 189);
/* oklch */ color: oklch(56.2% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#c879d1',
    500: '#ab39bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab39bd;
$custom-light: #c879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39bd",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 291.818,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.21291,
    "h": 321.9
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#AB39BD
secondary
#91C989
accent
#DD4B5F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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