#AC47BB#AC47BB

#AC47BB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.193 H 322.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC47BB
RGBrgb(172, 71, 187)
HSLhsl(292, 46%, 51%)
HSVhsv(292, 62%, 73%)
CMYKcmyk(8%, 62%, 0%, 26.7%)
CIE-LABlab(48.09, 57.37, -42.52)
CIE-LCHlch(48.09, 71.41, 323.45°)
OKLaboklab(57.71% 0.153 -0.1183)
OKLCHoklch(57.71% 0.193 322.3)
XYZxyz(28.2352, 16.8665, 48.7724)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47BB #56BB47
analogous
#7247BB #AC47BB #BB4790
triadic
#AC47BB #BBAC47 #47BBAC
tetradic
#AC47BB #BB7247 #56BB47 #4790BB
square
#AC47BB #BB7247 #56BB47 #4790BB
split-complementary
#AC47BB #90BB47 #47BB72
monochromatic
#5B2563 #843590 #AC47BB #C074CC #D4A0DC

Accessibility & contrast

On white

4.80
#AC47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AC47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47BB#FFFFFF#000000##FFFFFF
##AC47BB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#AE597B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac47bb;
/* rgb */ color: rgb(172, 71, 187);
/* oklch */ color: oklch(57.7% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#c881d0',
    500: '#ac47bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac47bb;
$custom-light: #c881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47bb",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 292.241,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57705,
    "c": 0.19343,
    "h": 322.3
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#AC47BB
secondary
#9CC995
accent
#D65263
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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