#AB39B2#AB39B2

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

Color values

HEX#AB39B2
RGBrgb(171, 57, 178)
HSLhsl(297, 51%, 46%)
HSVhsv(297, 68%, 70%)
CMYKcmyk(3.9%, 68%, 0%, 30.2%)
CIE-LABlab(45.36, 61.31, -41.60)
CIE-LCHlch(45.36, 74.09, 325.84°)
OKLaboklab(55.54% 0.1677 -0.1155)
OKLCHoklch(55.54% 0.204 325.4)
XYZxyz(26.2930, 14.8002, 43.5827)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B2 #40B239
analogous
#6E39B2 #AB39B2 #B2397C
triadic
#AB39B2 #B2AB39 #39B2AB
tetradic
#AB39B2 #B26E39 #40B239 #397CB2
square
#AB39B2 #B26E39 #40B239 #397CB2
split-complementary
#AB39B2 #7CB239 #39B26E
monochromatic
#521B55 #7E2A84 #AB39B2 #C55DCB #D58BDA

Accessibility & contrast

On white

5.30
#AB39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B2#FFFFFF#000000##FFFFFF
##AB39B21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#AF4C71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab39b2;
/* rgb */ color: rgb(171, 57, 178);
/* oklch */ color: oklch(55.5% 0.204 325.4);
Tailwind
colors: {
  custom: {
    50: '#c779c9',
    500: '#ab39b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b2;
$custom-light: #c779c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b2",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 296.529,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.20363,
    "h": 325.4
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#AB39B2
secondary
#86C482
accent
#DB4D55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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