#AB39CA#AB39CA

#AB39CA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.224 H 318.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB39CA
RGBrgb(171, 57, 202)
HSLhsl(287, 58%, 51%)
HSVhsv(287, 72%, 79%)
CMYKcmyk(15.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(46.78, 65.70, -53.33)
CIE-LCHlch(46.78, 84.62, 320.93°)
OKLaboklab(57.01% 0.1667 -0.1498)
OKLCHoklch(57.01% 0.224 318.1)
XYZxyz(28.9169, 15.8497, 57.4018)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39CA #58CA39
analogous
#6239CA #AB39CA #CA39A1
triadic
#AB39CA #CAAB39 #39CAAB
tetradic
#AB39CA #CA6239 #58CA39 #39A1CA
square
#AB39CA #CA6239 #58CA39 #39A1CA
split-complementary
#AB39CA #A1CA39 #39CA62
monochromatic
#5B1D6C #842A9C #AB39CA #BF69D7 #D49AE4

Accessibility & contrast

On white

5.04
#AB39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39CA#FFFFFF#000000##FFFFFF
##AB39CA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#3F72C7
Tritanopia (blue-blind)
#AA567E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab39ca;
/* rgb */ color: rgb(171, 57, 202);
/* oklch */ color: oklch(57.0% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#c87adb',
    500: '#ab39ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab39ca;
$custom-light: #c87adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39ca",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 287.172,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.22412,
    "h": 318.1
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#AB39CA
secondary
#9DD08F
accent
#E14768
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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