#AB39BB#AB39BB

#AB39BB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.211 H 322.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB39BB
RGBrgb(171, 57, 187)
HSLhsl(293, 53%, 48%)
HSVhsv(293, 70%, 73%)
CMYKcmyk(8.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(45.87, 62.91, -46.07)
CIE-LCHlch(45.87, 77.98, 323.79°)
OKLaboklab(56.07% 0.1676 -0.1285)
OKLCHoklch(56.07% 0.211 322.5)
XYZxyz(27.2264, 15.1736, 48.4988)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39BB #49BB39
analogous
#6A39BB #AB39BB #BB398A
triadic
#AB39BB #BBAB39 #39BBAB
tetradic
#AB39BB #BB6A39 #49BB39 #398ABB
square
#AB39BB #BB6A39 #49BB39 #398ABB
split-complementary
#AB39BB #8ABB39 #39BB6A
monochromatic
#551C5D #802B8C #AB39BB #C262CF #D491DD

Accessibility & contrast

On white

5.21
#AB39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB39BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39BB#FFFFFF#000000##FFFFFF
##AB39BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#AD5076
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab39bb;
/* rgb */ color: rgb(171, 57, 187);
/* oklch */ color: oklch(56.1% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#c879d0',
    500: '#ab39bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab39bb;
$custom-light: #c879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39bb",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 292.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.21121,
    "h": 322.5
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#AB39BB
secondary
#8FC887
accent
#DD4B5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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