#AC479E#AC479E

#AC479E is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.168 H 333.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC479E
RGBrgb(172, 71, 158)
HSLhsl(308, 42%, 48%)
HSVhsv(308, 59%, 67%)
CMYKcmyk(0%, 58.7%, 8.1%, 32.5%)
CIE-LABlab(46.64, 52.21, -27.74)
CIE-LCHlch(46.64, 59.12, 332.02°)
OKLaboklab(56.18% 0.1503 -0.0756)
OKLCHoklch(56.18% 0.168 333.3)
XYZxyz(25.4381, 15.7476, 34.0409)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC479E #47AC55
analogous
#8847AC #AC479E #AC476B
triadic
#AC479E #9EAC47 #479EAC
tetradic
#AC479E #AC8847 #47AC55 #476BAC
square
#AC479E #AC8847 #47AC55 #476BAC
split-complementary
#AC479E #6BAC47 #47AC88
monochromatic
#55234E #813576 #AC479E #C36DB7 #D599CC

Accessibility & contrast

On white

5.06
#AC479E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AC479E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC479E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC479E#FFFFFF#000000##FFFFFF
##AC479E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A1
Deuteranopia (green-blind)
#64749B
Tritanopia (blue-blind)
#B34E6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac479e;
/* rgb */ color: rgb(172, 71, 158);
/* oklch */ color: oklch(56.2% 0.168 333.3);
Tailwind
colors: {
  custom: {
    50: '#c780bb',
    500: '#ac479e',
    950: '#000000',
  },
}
SCSS
$custom: #ac479e;
$custom-light: #c780bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac479e",
  "rgb": {
    "r": 172,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 308.317,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.16825,
    "h": 333.3
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#AC479E
secondary
#8EC195
accent
#D16756
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC479E

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

Preview Lab → · Contrast checker → · Palette generator →

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