#AC47BA#AC47BA

#AC47BA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.193 H 322.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AC47BA
RGBrgb(172, 71, 186)
HSLhsl(293, 45%, 50%)
HSVhsv(293, 62%, 73%)
CMYKcmyk(7.5%, 61.8%, 0%, 27.1%)
CIE-LABlab(48.04, 57.18, -42.03)
CIE-LCHlch(48.04, 70.96, 323.68°)
OKLaboklab(57.65% 0.153 -0.1168)
OKLCHoklch(57.65% 0.193 322.6)
XYZxyz(28.1285, 16.8238, 48.2105)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47BA #55BA47
analogous
#7347BA #AC47BA #BA478E
triadic
#AC47BA #BAAC47 #47BAAC
tetradic
#AC47BA #BA7347 #55BA47 #478EBA
square
#AC47BA #BA7347 #55BA47 #478EBA
split-complementary
#AC47BA #8EBA47 #47BA73
monochromatic
#5A2562 #84358E #AC47BA #C074CB #D4A0DB

Accessibility & contrast

On white

4.81
#AC47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AC47BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47BA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47BA#FFFFFF#000000##FFFFFF
##AC47BA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#AE597A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac47ba;
/* rgb */ color: rgb(172, 71, 186);
/* oklch */ color: oklch(57.6% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#c881cf',
    500: '#ac47ba',
    950: '#000000',
  },
}
SCSS
$custom: #ac47ba;
$custom-light: #c881cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47ba",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 292.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.19252,
    "h": 322.6
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#AC47BA
secondary
#9BC895
accent
#D55363
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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