#AC479C#AC479C

#AC479C is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.167 H 334.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AC479C
RGBrgb(172, 71, 156)
HSLhsl(310, 42%, 48%)
HSVhsv(310, 59%, 67%)
CMYKcmyk(0%, 58.7%, 9.3%, 32.5%)
CIE-LABlab(46.55, 51.88, -26.69)
CIE-LCHlch(46.55, 58.34, 332.78°)
OKLaboklab(56.08% 0.15 -0.0727)
OKLCHoklch(56.08% 0.167 334.2)
XYZxyz(25.2673, 15.6793, 33.1416)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC479C #47AC57
analogous
#8947AC #AC479C #AC4769
triadic
#AC479C #9CAC47 #479CAC
tetradic
#AC479C #AC8947 #47AC57 #4769AC
square
#AC479C #AC8947 #47AC57 #4769AC
split-complementary
#AC479C #69AC47 #47AC89
monochromatic
#55234D #813575 #AC479C #C36DB5 #D599CB

Accessibility & contrast

On white

5.08
#AC479C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AC479C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC479C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC479C#FFFFFF#000000##FFFFFF
##AC479C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46659F
Deuteranopia (green-blind)
#657499
Tritanopia (blue-blind)
#B44E6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac479c;
/* rgb */ color: rgb(172, 71, 156);
/* oklch */ color: oklch(56.1% 0.167 334.2);
Tailwind
colors: {
  custom: {
    50: '#c780b9',
    500: '#ac479c',
    950: '#000000',
  },
}
SCSS
$custom: #ac479c;
$custom-light: #c780b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac479c",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 309.505,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.16664,
    "h": 334.2
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#AC479C
secondary
#8EC196
accent
#D16A56
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC479C

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

Preview Lab → · Contrast checker → · Palette generator →

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