#AB39B4#AB39B4

#AB39B4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.205 H 324.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB39B4
RGBrgb(171, 57, 180)
HSLhsl(296, 52%, 46%)
HSVhsv(296, 68%, 71%)
CMYKcmyk(5%, 68.3%, 0%, 29.4%)
CIE-LABlab(45.47, 61.66, -42.60)
CIE-LCHlch(45.47, 74.95, 325.36°)
OKLaboklab(55.66% 0.1677 -0.1184)
OKLCHoklch(55.66% 0.205 324.8)
XYZxyz(26.4953, 14.8811, 44.6480)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B4 #42B439
analogous
#6E39B4 #AB39B4 #B43980
triadic
#AB39B4 #B4AB39 #39B4AB
tetradic
#AB39B4 #B46E39 #42B439 #3980B4
square
#AB39B4 #B46E39 #42B439 #3980B4
split-complementary
#AB39B4 #80B439 #39B46E
monochromatic
#531C57 #7F2A86 #AB39B4 #C45ECC #D58DDB

Accessibility & contrast

On white

5.28
#AB39B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB39B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39B4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B4#FFFFFF#000000##FFFFFF
##AB39B41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#AF4D72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab39b4;
/* rgb */ color: rgb(171, 57, 180);
/* oklch */ color: oklch(55.7% 0.205 324.8);
Tailwind
colors: {
  custom: {
    50: '#c779cb',
    500: '#ab39b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b4;
$custom-light: #c779cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b4",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 295.61,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.2053,
    "h": 324.8
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#AB39B4
secondary
#88C583
accent
#DB4C57
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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