#AC47B2#AC47B2

#AC47B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.185 H 325.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AC47B2
RGBrgb(172, 71, 178)
HSLhsl(297, 43%, 49%)
HSVhsv(297, 60%, 70%)
CMYKcmyk(3.4%, 60.1%, 0%, 30.2%)
CIE-LABlab(47.61, 55.70, -38.02)
CIE-LCHlch(47.61, 67.44, 325.68°)
OKLaboklab(57.2% 0.1526 -0.1052)
OKLCHoklch(57.2% 0.185 325.4)
XYZxyz(27.3018, 16.4931, 43.8563)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47B2 #4DB247
analogous
#7747B2 #AC47B2 #B24783
triadic
#AC47B2 #B2AC47 #47B2AC
tetradic
#AC47B2 #B27747 #4DB247 #4783B2
square
#AC47B2 #B27747 #4DB247 #4783B2
split-complementary
#AC47B2 #83B247 #47B277
monochromatic
#57245B #823686 #AC47B2 #C170C6 #D49CD7

Accessibility & contrast

On white

4.89
#AC47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AC47B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47B2#FFFFFF#000000##FFFFFF
##AC47B21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#B05676
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac47b2;
/* rgb */ color: rgb(172, 71, 178);
/* oklch */ color: oklch(57.2% 0.185 325.4);
Tailwind
colors: {
  custom: {
    50: '#c880c9',
    500: '#ac47b2',
    950: '#000000',
  },
}
SCSS
$custom: #ac47b2;
$custom-light: #c880c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47b2",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 296.636,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.18533,
    "h": 325.4
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#AC47B2
secondary
#94C491
accent
#D3555C
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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