#AB39DF#AB39DF

#AB39DF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.243 H 312.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB39DF
RGBrgb(171, 57, 223)
HSLhsl(281, 72%, 55%)
HSVhsv(281, 74%, 87%)
CMYKcmyk(23.3%, 74.4%, 0%, 12.5%)
CIE-LABlab(48.15, 69.78, -63.15)
CIE-LCHlch(48.15, 94.11, 317.85°)
OKLaboklab(58.42% 0.1641 -0.1786)
OKLCHoklch(58.42% 0.243 312.6)
XYZxyz(31.5746, 16.9128, 71.3990)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39DF #6DDF39
analogous
#5839DF #AB39DF #DF39C0
triadic
#AB39DF #DFAB39 #39DFAB
tetradic
#AB39DF #DF5839 #6DDF39 #39C0DF
square
#AB39DF #DF5839 #6DDF39 #39C0DF
split-complementary
#AB39DF #C0DF39 #39DF58
monochromatic
#641688 #8B1EBC #AB39DF #C16EE8 #D8A2F0

Accessibility & contrast

On white

4.79
#AB39DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB39DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39DF#FFFFFF#000000##FFFFFF
##AB39DF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#2375DB
Tritanopia (blue-blind)
#A55F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab39df;
/* rgb */ color: rgb(171, 57, 223);
/* oklch */ color: oklch(58.4% 0.243 312.6);
Tailwind
colors: {
  custom: {
    50: '#c97bea',
    500: '#ab39df',
    950: '#000000',
  },
}
SCSS
$custom: #ab39df;
$custom-light: #c97bea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39df",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 223
  },
  "hsl": {
    "h": 281.205,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.24255,
    "h": 312.6
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#AB39DF
secondary
#ADDD97
accent
#EF3972
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB39DF

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

Preview Lab → · Contrast checker → · Palette generator →

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