#AC47BF#AC47BF

#AC47BF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.197 H 321.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC47BF
RGBrgb(172, 71, 191)
HSLhsl(291, 48%, 51%)
HSVhsv(291, 63%, 75%)
CMYKcmyk(9.9%, 62.8%, 0%, 25.1%)
CIE-LABlab(48.31, 58.12, -44.50)
CIE-LCHlch(48.31, 73.20, 322.56°)
OKLaboklab(57.93% 0.1532 -0.124)
OKLCHoklch(57.93% 0.197 321)
XYZxyz(28.6694, 17.0401, 51.0591)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47BF #5ABF47
analogous
#7047BF #AC47BF #BF4796
triadic
#AC47BF #BFAC47 #47BFAC
tetradic
#AC47BF #BF7047 #5ABF47 #4796BF
square
#AC47BF #BF7047 #5ABF47 #4796BF
split-complementary
#AC47BF #96BF47 #47BF70
monochromatic
#5D2468 #863495 #AC47BF #C074CF #D5A2DF

Accessibility & contrast

On white

4.76
#AC47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AC47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47BF#FFFFFF#000000##FFFFFF
##AC47BF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#AD5A7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac47bf;
/* rgb */ color: rgb(172, 71, 191);
/* oklch */ color: oklch(57.9% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#c881d3',
    500: '#ac47bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac47bf;
$custom-light: #c881d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47bf",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 290.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.19708,
    "h": 321
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#AC47BF
secondary
#9FCB96
accent
#D85065
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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