#AC47AA#AC47AA

#AC47AA is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.178 H 328.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC47AA
RGBrgb(172, 71, 170)
HSLhsl(301, 42%, 48%)
HSVhsv(301, 59%, 67%)
CMYKcmyk(0%, 58.7%, 1.2%, 32.5%)
CIE-LABlab(47.21, 54.27, -33.95)
CIE-LCHlch(47.21, 64.02, 327.97°)
OKLaboklab(56.78% 0.1519 -0.0935)
OKLCHoklch(56.78% 0.178 328.4)
XYZxyz(26.5219, 16.1811, 39.7487)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47AA #47AC49
analogous
#7B47AC #AC47AA #AC4778
triadic
#AC47AA #AAAC47 #47AAAC
tetradic
#AC47AA #AC7B47 #47AC49 #4778AC
square
#AC47AA #AC7B47 #47AC49 #4778AC
split-complementary
#AC47AA #78AC47 #47AC7B
monochromatic
#552354 #81357F #AC47AA #C36DC1 #D599D4

Accessibility & contrast

On white

4.96
#AC47AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AC47AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47AA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47AA#FFFFFF#000000##FFFFFF
##AC47AA1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#B15372
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac47aa;
/* rgb */ color: rgb(172, 71, 170);
/* oklch */ color: oklch(56.8% 0.178 328.4);
Tailwind
colors: {
  custom: {
    50: '#c780c3',
    500: '#ac47aa',
    950: '#000000',
  },
}
SCSS
$custom: #ac47aa;
$custom-light: #c780c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47aa",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 301.188,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.17832,
    "h": 328.4
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#AC47AA
secondary
#8EC18F
accent
#D15956
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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