#AB39CF#AB39CF

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

Color values

HEX#AB39CF
RGBrgb(171, 57, 207)
HSLhsl(286, 61%, 52%)
HSVhsv(286, 72%, 81%)
CMYKcmyk(17.4%, 72.5%, 0%, 18.8%)
CIE-LABlab(47.09, 66.65, -55.71)
CIE-LCHlch(47.09, 86.86, 320.11°)
OKLaboklab(57.34% 0.1662 -0.1567)
OKLCHoklch(57.34% 0.228 316.7)
XYZxyz(29.5185, 16.0904, 60.5702)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB39CF #5DCF39
analogous
#6039CF #AB39CF #CF39A8
triadic
#AB39CF #CFAB39 #39CFAB
tetradic
#AB39CF #CF6039 #5DCF39 #39A8CF
square
#AB39CF #CF6039 #5DCF39 #39A8CF
split-complementary
#AB39CF #A8CF39 #39CF60
monochromatic
#5D1C72 #8628A3 #AB39CF #C06ADB #D59CE7

Accessibility & contrast

On white

4.98
#AB39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB39CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB39CF#FFFFFF#000000##FFFFFF
##AB39CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#A95881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab39cf;
/* rgb */ color: rgb(171, 57, 207);
/* oklch */ color: oklch(57.3% 0.228 316.7);
Tailwind
colors: {
  custom: {
    50: '#c87ade',
    500: '#ab39cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab39cf;
$custom-light: #c87ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ab39cf",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 285.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.22847,
    "h": 316.7
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#AB39CF
secondary
#A1D391
accent
#E4446A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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