#AB47C4#AB47C4

#AB47C4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.1% C 0.201 H 319.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB47C4
RGBrgb(171, 71, 196)
HSLhsl(288, 51%, 52%)
HSVhsv(288, 64%, 77%)
CMYKcmyk(12.8%, 63.8%, 0%, 23.1%)
CIE-LABlab(48.45, 58.85, -47.19)
CIE-LCHlch(48.45, 75.43, 321.28°)
OKLaboklab(58.1% 0.152 -0.1319)
OKLCHoklch(58.1% 0.201 319.1)
XYZxyz(29.0103, 17.1512, 53.9963)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB47C4 #60C447
analogous
#6D47C4 #AB47C4 #C4479E
triadic
#AB47C4 #C4AB47 #47C4AB
tetradic
#AB47C4 #C46D47 #60C447 #479EC4
square
#AB47C4 #C46D47 #60C447 #479EC4
split-complementary
#AB47C4 #9EC447 #47C46D
monochromatic
#5F236D #87329C #AB47C4 #C075D3 #D5A4E2

Accessibility & contrast

On white

4.74
#AB47C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB47C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB47C4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB47C4#FFFFFF#000000##FFFFFF
##AB47C41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216CC8
Deuteranopia (green-blind)
#4F76C1
Tritanopia (blue-blind)
#AB5C7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab47c4;
/* rgb */ color: rgb(171, 71, 196);
/* oklch */ color: oklch(58.1% 0.201 319.1);
Tailwind
colors: {
  custom: {
    50: '#c781d6',
    500: '#ab47c4',
    950: '#000000',
  },
}
SCSS
$custom: #ab47c4;
$custom-light: #c781d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab47c4",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 288,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.20126,
    "h": 319.1
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#AB47C4
secondary
#A3CF98
accent
#DB4D69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB47C4

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

Preview Lab → · Contrast checker → · Palette generator →

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