#AB39BC#AB39BC

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

Color values

HEX#AB39BC
RGBrgb(171, 57, 188)
HSLhsl(292, 53%, 48%)
HSVhsv(292, 70%, 74%)
CMYKcmyk(9%, 69.7%, 0%, 26.3%)
CIE-LABlab(45.93, 63.10, -46.56)
CIE-LCHlch(45.93, 78.41, 323.58°)
OKLaboklab(56.13% 0.1676 -0.13)
OKLCHoklch(56.13% 0.212 322.2)
XYZxyz(27.3339, 15.2165, 49.0645)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39BC #4ABC39
analogous
#6A39BC #AB39BC #BC398B
triadic
#AB39BC #BCAB39 #39BCAB
tetradic
#AB39BC #BC6A39 #4ABC39 #398BBC
square
#AB39BC #BC6A39 #4ABC39 #398BBC
split-complementary
#AB39BC #8BBC39 #39BC6A
monochromatic
#561D5E #802B8D #AB39BC #C163D0 #D492DE

Accessibility & contrast

On white

5.19
#AB39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39BC#FFFFFF#000000##FFFFFF
##AB39BC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#AD5077
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab39bc;
/* rgb */ color: rgb(171, 57, 188);
/* oklch */ color: oklch(56.1% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#c879d1',
    500: '#ab39bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab39bc;
$custom-light: #c879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39bc",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 292.214,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.21206,
    "h": 322.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#AB39BC
secondary
#90C988
accent
#DD4B5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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