#AB39B3#AB39B3

#AB39B3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.204 H 325.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB39B3
RGBrgb(171, 57, 179)
HSLhsl(296, 52%, 46%)
HSVhsv(296, 68%, 70%)
CMYKcmyk(4.5%, 68.2%, 0%, 29.8%)
CIE-LABlab(45.41, 61.49, -42.10)
CIE-LCHlch(45.41, 74.52, 325.60°)
OKLaboklab(55.6% 0.1677 -0.117)
OKLCHoklch(55.6% 0.204 325.1)
XYZxyz(26.3938, 14.8405, 44.1134)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B3 #41B339
analogous
#6E39B3 #AB39B3 #B3397E
triadic
#AB39B3 #B3AB39 #39B3AB
tetradic
#AB39B3 #B36E39 #41B339 #397EB3
square
#AB39B3 #B36E39 #41B339 #397EB3
split-complementary
#AB39B3 #7EB339 #39B36E
monochromatic
#521B56 #7F2A85 #AB39B3 #C45ECC #D58CDA

Accessibility & contrast

On white

5.29
#AB39B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB39B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39B3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B3#FFFFFF#000000##FFFFFF
##AB39B31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B7
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#AF4C72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab39b3;
/* rgb */ color: rgb(171, 57, 179);
/* oklch */ color: oklch(55.6% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#c779ca',
    500: '#ab39b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b3;
$custom-light: #c779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b3",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 296.066,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.556,
    "c": 0.20447,
    "h": 325.1
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#AB39B3
secondary
#87C583
accent
#DB4D56
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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