#AC47BD#AC47BD

#AC47BD is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.195 H 321.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AC47BD
RGBrgb(172, 71, 189)
HSLhsl(291, 47%, 51%)
HSVhsv(291, 62%, 74%)
CMYKcmyk(9%, 62.4%, 0%, 25.9%)
CIE-LABlab(48.20, 57.74, -43.52)
CIE-LCHlch(48.20, 72.30, 323.00°)
OKLaboklab(57.82% 0.1531 -0.1212)
OKLCHoklch(57.82% 0.195 321.6)
XYZxyz(28.4508, 16.9527, 49.9078)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47BD #58BD47
analogous
#7147BD #AC47BD #BD4793
triadic
#AC47BD #BDAC47 #47BDAC
tetradic
#AC47BD #BD7147 #58BD47 #4793BD
square
#AC47BD #BD7147 #58BD47 #4793BD
split-complementary
#AC47BD #93BD47 #47BD71
monochromatic
#5C2465 #853492 #AC47BD #C074CD #D5A1DD

Accessibility & contrast

On white

4.78
#AC47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AC47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47BD#FFFFFF#000000##FFFFFF
##AC47BD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC1
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#AE5A7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac47bd;
/* rgb */ color: rgb(172, 71, 189);
/* oklch */ color: oklch(57.8% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#c881d1',
    500: '#ac47bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac47bd;
$custom-light: #c881d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47bd",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 291.356,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.19526,
    "h": 321.6
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#AC47BD
secondary
#9DCA96
accent
#D75164
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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