#AC47D8#AC47D8

#AC47D8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.220 H 313.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC47D8
RGBrgb(172, 71, 216)
HSLhsl(282, 65%, 56%)
HSVhsv(282, 67%, 85%)
CMYKcmyk(20.4%, 67.1%, 0%, 15.3%)
CIE-LABlab(49.78, 63.06, -56.53)
CIE-LCHlch(49.78, 84.69, 318.12°)
OKLaboklab(59.47% 0.1525 -0.1592)
OKLCHoklch(59.47% 0.22 313.8)
XYZxyz(31.6590, 18.2360, 66.8046)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47D8 #73D847
analogous
#6447D8 #AC47D8 #D847BC
triadic
#AC47D8 #D8AC47 #47D8AC
tetradic
#AC47D8 #D86447 #73D847 #47BCD8
square
#AC47D8 #D86447 #73D847 #47BCD8
split-complementary
#AC47D8 #BCD847 #47D864
monochromatic
#671D88 #8E27BA #AC47D8 #C379E3 #DAACED

Accessibility & contrast

On white

4.52
#AC47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AC47D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC47D8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47D8#FFFFFF#000000##000000
##AC47D81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#A8648A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac47d8;
/* rgb */ color: rgb(172, 71, 216);
/* oklch */ color: oklch(59.5% 0.220 313.8);
Tailwind
colors: {
  custom: {
    50: '#c982e5',
    500: '#ac47d8',
    950: '#000000',
  },
}
SCSS
$custom: #ac47d8;
$custom-light: #c982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47d8",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 281.793,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.22045,
    "h": 313.8
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#AC47D8
secondary
#B2DBA0
accent
#E84073
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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