#AB39B5#AB39B5

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

Color values

HEX#AB39B5
RGBrgb(171, 57, 181)
HSLhsl(295, 52%, 47%)
HSVhsv(295, 69%, 71%)
CMYKcmyk(5.5%, 68.5%, 0%, 29%)
CIE-LABlab(45.53, 61.84, -43.10)
CIE-LCHlch(45.53, 75.38, 325.13°)
OKLaboklab(55.72% 0.1677 -0.1199)
OKLCHoklch(55.72% 0.206 324.4)
XYZxyz(26.5975, 14.9220, 45.1864)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39B5 #43B539
analogous
#6D39B5 #AB39B5 #B53981
triadic
#AB39B5 #B5AB39 #39B5AB
tetradic
#AB39B5 #B56D39 #43B539 #3981B5
square
#AB39B5 #B56D39 #43B539 #3981B5
split-complementary
#AB39B5 #81B539 #39B56D
monochromatic
#531C58 #7F2A86 #AB39B5 #C45FCD #D58DDB

Accessibility & contrast

On white

5.27
#AB39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB39B5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39B5#FFFFFF#000000##FFFFFF
##AB39B51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#5070B2
Tritanopia (blue-blind)
#AE4D73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab39b5;
/* rgb */ color: rgb(171, 57, 181);
/* oklch */ color: oklch(55.7% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#c779cc',
    500: '#ab39b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab39b5;
$custom-light: #c779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39b5",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 295.161,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.20614,
    "h": 324.4
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#AB39B5
secondary
#89C684
accent
#DC4C58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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