#AB39CE#AB39CE

#AB39CE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.228 H 317.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB39CE
RGBrgb(171, 57, 206)
HSLhsl(286, 60%, 52%)
HSVhsv(286, 72%, 81%)
CMYKcmyk(17%, 72.3%, 0%, 19.2%)
CIE-LABlab(47.03, 66.46, -55.23)
CIE-LCHlch(47.03, 86.41, 320.27°)
OKLaboklab(57.27% 0.1663 -0.1553)
OKLCHoklch(57.27% 0.228 317)
XYZxyz(29.3966, 16.0416, 59.9284)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39CE #5CCE39
analogous
#6139CE #AB39CE #CE39A7
triadic
#AB39CE #CEAB39 #39CEAB
tetradic
#AB39CE #CE6139 #5CCE39 #39A7CE
square
#AB39CE #CE6139 #5CCE39 #39A7CE
split-complementary
#AB39CE #A7CE39 #39CE61
monochromatic
#5D1C71 #8528A2 #AB39CE #C06ADA #D59BE6

Accessibility & contrast

On white

4.99
#AB39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39CE#FFFFFF#000000##FFFFFF
##AB39CE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#A95881
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab39ce;
/* rgb */ color: rgb(171, 57, 206);
/* oklch */ color: oklch(57.3% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#c87ade',
    500: '#ab39ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab39ce;
$custom-light: #c87ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39ce",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 285.906,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.2276,
    "h": 317
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#AB39CE
secondary
#A0D291
accent
#E3446A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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