#AB39B1#AB39B1

#AB39B1 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.203 H 325.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB39B1
RGBrgb(171, 57, 177)
HSLhsl(297, 51%, 46%)
HSVhsv(297, 68%, 69%)
CMYKcmyk(3.4%, 67.8%, 0%, 30.6%)
CIE-LABlab(45.30, 61.13, -41.10)
CIE-LCHlch(45.30, 73.67, 326.09°)
OKLaboklab(55.48% 0.1677 -0.1141)
OKLCHoklch(55.48% 0.203 325.8)
XYZxyz(26.1930, 14.7602, 43.0558)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B1 #3FB139
analogous
#6F39B1 #AB39B1 #B1397B
triadic
#AB39B1 #B1AB39 #39B1AB
tetradic
#AB39B1 #B16F39 #3FB139 #397BB1
square
#AB39B1 #B16F39 #3FB139 #397BB1
split-complementary
#AB39B1 #7BB139 #39B16F
monochromatic
#521B54 #7E2A83 #AB39B1 #C55DCB #D68BDA

Accessibility & contrast

On white

5.31
#AB39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB39B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39B1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B1#FFFFFF#000000##FFFFFF
##AB39B11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#AF4B71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab39b1;
/* rgb */ color: rgb(171, 57, 177);
/* oklch */ color: oklch(55.5% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#c779c9',
    500: '#ab39b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b1;
$custom-light: #c779c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b1",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 297,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.2028,
    "h": 325.8
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#AB39B1
secondary
#85C482
accent
#DB4D54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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