#AC47D6#AC47D6

#AC47D6 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.219 H 314.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AC47D6
RGBrgb(172, 71, 214)
HSLhsl(282, 64%, 56%)
HSVhsv(282, 67%, 84%)
CMYKcmyk(19.6%, 66.8%, 0%, 16.1%)
CIE-LABlab(49.66, 62.65, -55.59)
CIE-LCHlch(49.66, 83.76, 318.42°)
OKLaboklab(59.34% 0.1526 -0.1564)
OKLCHoklch(59.34% 0.219 314.3)
XYZxyz(31.4021, 18.1332, 65.4512)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47D6 #71D647
analogous
#6447D6 #AC47D6 #D647B8
triadic
#AC47D6 #D6AC47 #47D6AC
tetradic
#AC47D6 #D66447 #71D647 #47B8D6
square
#AC47D6 #D66447 #71D647 #47B8D6
split-complementary
#AC47D6 #B8D647 #47D664
monochromatic
#671E85 #8D29B7 #AC47D6 #C379E1 #D9ABEC

Accessibility & contrast

On white

4.54
#AC47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AC47D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47D6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47D6#FFFFFF#000000##000000
##AC47D61.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#A86389
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac47d6;
/* rgb */ color: rgb(172, 71, 214);
/* oklch */ color: oklch(59.3% 0.219 314.3);
Tailwind
colors: {
  custom: {
    50: '#c981e3',
    500: '#ac47d6',
    950: '#000000',
  },
}
SCSS
$custom: #ac47d6;
$custom-light: #c981e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47d6",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 282.378,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.21856,
    "h": 314.3
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#AC47D6
secondary
#B0DA9F
accent
#E74172
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AC47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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