#AC47D9#AC47D9

#AC47D9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.221 H 313.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AC47D9
RGBrgb(172, 71, 217)
HSLhsl(282, 66%, 56%)
HSVhsv(282, 67%, 85%)
CMYKcmyk(20.7%, 67.3%, 0%, 14.9%)
CIE-LABlab(49.84, 63.26, -57.00)
CIE-LCHlch(49.84, 85.15, 317.98°)
OKLaboklab(59.53% 0.1524 -0.1606)
OKLCHoklch(59.53% 0.221 313.5)
XYZxyz(31.7887, 18.2879, 67.4876)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47D9 #74D947
analogous
#6347D9 #AC47D9 #D947BD
triadic
#AC47D9 #D9AC47 #47D9AC
tetradic
#AC47D9 #D96347 #74D947 #47BDD9
square
#AC47D9 #D96347 #74D947 #47BDD9
split-complementary
#AC47D9 #BDD947 #47D963
monochromatic
#681C89 #8E27BC #AC47D9 #C37AE3 #DAACEE

Accessibility & contrast

On white

4.51
#AC47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AC47D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47D9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47D9#FFFFFF#000000##000000
##AC47D91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#A8648B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac47d9;
/* rgb */ color: rgb(172, 71, 217);
/* oklch */ color: oklch(59.5% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#c982e5',
    500: '#ac47d9',
    950: '#000000',
  },
}
SCSS
$custom: #ac47d9;
$custom-light: #c982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47d9",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 281.507,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59531,
    "c": 0.2214,
    "h": 313.5
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#AC47D9
secondary
#B2DCA0
accent
#E93F73
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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