#AB47CE#AB47CE

#AB47CE is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.211 H 316.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB47CE
RGBrgb(171, 71, 206)
HSLhsl(284, 58%, 54%)
HSVhsv(284, 66%, 81%)
CMYKcmyk(17%, 65.5%, 0%, 19.2%)
CIE-LABlab(49.03, 60.82, -52.02)
CIE-LCHlch(49.03, 80.03, 319.46°)
OKLaboklab(58.71% 0.1518 -0.146)
OKLCHoklch(58.71% 0.211 316.1)
XYZxyz(30.1867, 17.6218, 60.1918)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47CE #6ACE47
analogous
#6747CE #AB47CE #CE47AE
triadic
#AB47CE #CEAB47 #47CEAB
tetradic
#AB47CE #CE6747 #6ACE47 #47AECE
square
#AB47CE #CE6747 #6ACE47 #47AECE
split-complementary
#AB47CE #AECE47 #47CE67
monochromatic
#63217A #8A2DAA #AB47CE #C177DB #D7A8E8

Accessibility & contrast

On white

4.64
#AB47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB47CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47CE#FFFFFF#000000##FFFFFF
##AB47CE1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#A96085
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab47ce;
/* rgb */ color: rgb(171, 71, 206);
/* oklch */ color: oklch(58.7% 0.211 316.1);
Tailwind
colors: {
  custom: {
    50: '#c881de',
    500: '#ab47ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab47ce;
$custom-light: #c881de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47ce",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 284.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58706,
    "c": 0.21063,
    "h": 316.1
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#AB47CE
secondary
#ABD59C
accent
#E1476F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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