#AC4DAC#AC4DAC

#AC4DAC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.171 H 327.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC4DAC
RGBrgb(172, 77, 172)
HSLhsl(300, 38%, 49%)
HSVhsv(300, 55%, 67%)
CMYKcmyk(0%, 55.2%, 0%, 32.5%)
CIE-LABlab(48.33, 51.84, -33.37)
CIE-LCHlch(48.33, 61.65, 327.23°)
OKLaboklab(57.63% 0.1442 -0.0918)
OKLCHoklch(57.63% 0.171 327.5)
XYZxyz(27.1131, 17.0586, 40.8863)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DAC #4DAC4D
analogous
#7D4DAC #AC4DAC #AC4D7D
triadic
#AC4DAC #ACAC4D #4DACAC
tetradic
#AC4DAC #AC7D4D #4DAC4D #4D7DAC
square
#AC4DAC #AC7D4D #4DAC4D #4D7DAC
split-complementary
#AC4DAC #7DAC4D #4DAC7D
monochromatic
#572757 #823A82 #AC4DAC #C175C1 #D49FD4

Accessibility & contrast

On white

4.76
#AC4DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AC4DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4DAC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DAC#FFFFFF#000000##FFFFFF
##AC4DAC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#B15875
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4dac;
/* rgb */ color: rgb(172, 77, 172);
/* oklch */ color: oklch(57.6% 0.171 327.5);
Tailwind
colors: {
  custom: {
    50: '#c784c5',
    500: '#ac4dac',
    950: '#000000',
  },
}
SCSS
$custom: #ac4dac;
$custom-light: #c784c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4dac",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 38.153,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.17097,
    "h": 327.5
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#AC4DAC
secondary
#94C194
accent
#CE5A5A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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