#AB39CB#AB39CB

#AB39CB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.225 H 317.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB39CB
RGBrgb(171, 57, 203)
HSLhsl(287, 58%, 51%)
HSVhsv(287, 72%, 80%)
CMYKcmyk(15.8%, 71.9%, 0%, 20.4%)
CIE-LABlab(46.84, 65.89, -53.81)
CIE-LCHlch(46.84, 85.07, 320.76°)
OKLaboklab(57.08% 0.1666 -0.1512)
OKLCHoklch(57.08% 0.225 317.8)
XYZxyz(29.0357, 15.8973, 58.0274)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39CB #59CB39
analogous
#6239CB #AB39CB #CB39A2
triadic
#AB39CB #CBAB39 #39CBAB
tetradic
#AB39CB #CB6239 #59CB39 #39A2CB
square
#AB39CB #CB6239 #59CB39 #39A2CB
split-complementary
#AB39CB #A2CB39 #39CB62
monochromatic
#5B1D6D #84299D #AB39CB #C069D8 #D49AE4

Accessibility & contrast

On white

5.02
#AB39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39CB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39CB#FFFFFF#000000##FFFFFF
##AB39CB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#AA577F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab39cb;
/* rgb */ color: rgb(171, 57, 203);
/* oklch */ color: oklch(57.1% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#c87adb',
    500: '#ab39cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab39cb;
$custom-light: #c87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39cb",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 286.849,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.22498,
    "h": 317.8
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#AB39CB
secondary
#9ED090
accent
#E24668
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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