#AC47CB#AC47CB

#AC47CB is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.6% C 0.208 H 317.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AC47CB
RGBrgb(172, 71, 203)
HSLhsl(286, 56%, 54%)
HSVhsv(286, 65%, 80%)
CMYKcmyk(15.3%, 65%, 0%, 20.4%)
CIE-LABlab(49.00, 60.45, -50.35)
CIE-LCHlch(49.00, 78.67, 320.21°)
OKLaboklab(58.65% 0.1531 -0.1411)
OKLCHoklch(58.65% 0.208 317.3)
XYZxyz(30.0444, 17.5901, 58.3010)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC47CB #66CB47
analogous
#6A47CB #AC47CB #CB47A8
triadic
#AC47CB #CBAC47 #47CBAC
tetradic
#AC47CB #CB6A47 #66CB47 #47A8CB
square
#AC47CB #CB6A47 #66CB47 #47A8CB
split-complementary
#AC47CB #A8CB47 #47CB6A
monochromatic
#622176 #8A2FA6 #AC47CB #C277D8 #D7A6E6

Accessibility & contrast

On white

4.65
#AC47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AC47CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC47CB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC47CB#FFFFFF#000000##FFFFFF
##AC47CB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#AB5F83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac47cb;
/* rgb */ color: rgb(172, 71, 203);
/* oklch */ color: oklch(58.6% 0.208 317.3);
Tailwind
colors: {
  custom: {
    50: '#c881db',
    500: '#ac47cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac47cb;
$custom-light: #c881db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac47cb",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 285.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58649,
    "c": 0.20822,
    "h": 317.3
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#AC47CB
secondary
#A8D39B
accent
#DF496C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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