#AB39C2#AB39C2

#AB39C2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.217 H 320.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB39C2
RGBrgb(171, 57, 194)
HSLhsl(290, 55%, 49%)
HSVhsv(290, 71%, 76%)
CMYKcmyk(11.9%, 70.6%, 0%, 23.9%)
CIE-LABlab(46.29, 64.20, -49.48)
CIE-LCHlch(46.29, 81.05, 322.37°)
OKLaboklab(56.5% 0.1673 -0.1385)
OKLCHoklch(56.5% 0.217 320.4)
XYZxyz(27.9941, 15.4806, 52.5420)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39C2 #50C239
analogous
#6739C2 #AB39C2 #C23995
triadic
#AB39C2 #C2AB39 #39C2AB
tetradic
#AB39C2 #C26739 #50C239 #3995C2
square
#AB39C2 #C26739 #50C239 #3995C2
split-complementary
#AB39C2 #95C239 #39C267
monochromatic
#581D63 #812B93 #AB39C2 #C066D2 #D395E0

Accessibility & contrast

On white

5.13
#AB39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39C2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39C2#FFFFFF#000000##FFFFFF
##AB39C21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4672BF
Tritanopia (blue-blind)
#AC537A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab39c2;
/* rgb */ color: rgb(171, 57, 194);
/* oklch */ color: oklch(56.5% 0.217 320.4);
Tailwind
colors: {
  custom: {
    50: '#c87ad5',
    500: '#ab39c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab39c2;
$custom-light: #c87ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39c2",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 289.927,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.2172,
    "h": 320.4
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#AB39C2
secondary
#96CB8B
accent
#DE4A63
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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