#AC47AC#AC47AC

#AC47AC is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.180 H 327.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC47AC
RGBrgb(172, 71, 172)
HSLhsl(300, 42%, 48%)
HSVhsv(300, 59%, 67%)
CMYKcmyk(0%, 58.7%, 0%, 32.5%)
CIE-LABlab(47.31, 54.62, -34.98)
CIE-LCHlch(47.31, 64.86, 327.37°)
OKLaboklab(56.88% 0.1521 -0.0964)
OKLCHoklch(56.88% 0.18 327.6)
XYZxyz(26.7125, 16.2574, 40.7527)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47AC #47AC47
analogous
#7947AC #AC47AC #AC4779
triadic
#AC47AC #ACAC47 #47ACAC
tetradic
#AC47AC #AC7947 #47AC47 #4779AC
square
#AC47AC #AC7947 #47AC47 #4779AC
split-complementary
#AC47AC #79AC47 #47AC79
monochromatic
#552355 #813581 #AC47AC #C36DC3 #D599D5

Accessibility & contrast

On white

4.94
#AC47AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC47AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47AC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47AC#FFFFFF#000000##FFFFFF
##AC47AC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B15373
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac47ac;
/* rgb */ color: rgb(172, 71, 172);
/* oklch */ color: oklch(56.9% 0.180 327.6);
Tailwind
colors: {
  custom: {
    50: '#c780c5',
    500: '#ac47ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac47ac;
$custom-light: #c780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47ac",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.18005,
    "h": 327.6
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#AC47AC
secondary
#8EC18E
accent
#D15656
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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