#AB39A2#AB39A2

#AB39A2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.191 H 331.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB39A2
RGBrgb(171, 57, 162)
HSLhsl(305, 50%, 45%)
HSVhsv(305, 67%, 67%)
CMYKcmyk(0%, 66.7%, 5.3%, 32.9%)
CIE-LABlab(44.51, 58.59, -33.47)
CIE-LCHlch(44.51, 67.47, 330.27°)
OKLaboklab(54.66% 0.167 -0.092)
OKLCHoklch(54.66% 0.191 331.2)
XYZxyz(24.7792, 14.1947, 35.6102)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39A2 #39AB42
analogous
#7B39AB #AB39A2 #AB3969
triadic
#AB39A2 #A2AB39 #39A2AB
tetradic
#AB39A2 #AB7B39 #39AB42 #3969AB
square
#AB39A2 #AB7B39 #39AB42 #3969AB
split-complementary
#AB39A2 #69AB39 #39AB7B
monochromatic
#4F1A4B #7D2A77 #AB39A2 #C859BF #D787D1

Accessibility & contrast

On white

5.47
#AB39A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB39A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39A2#FFFFFF#000000##FFFFFF
##AB39A21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B24569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab39a2;
/* rgb */ color: rgb(171, 57, 162);
/* oklch */ color: oklch(54.7% 0.191 331.2);
Tailwind
colors: {
  custom: {
    50: '#c778be',
    500: '#ab39a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab39a2;
$custom-light: #c778be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39a2",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 304.737,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.19064,
    "h": 331.2
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#AB39A2
secondary
#7FC184
accent
#DA594E
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB39A2

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

Preview Lab → · Contrast checker → · Palette generator →

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