#AC4DAF#AC4DAF

#AC4DAF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.174 H 326.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC4DAF
RGBrgb(172, 77, 175)
HSLhsl(298, 39%, 49%)
HSVhsv(298, 56%, 69%)
CMYKcmyk(1.7%, 56%, 0%, 31.4%)
CIE-LABlab(48.48, 52.39, -34.90)
CIE-LCHlch(48.48, 62.95, 326.33°)
OKLaboklab(57.79% 0.1446 -0.0962)
OKLCHoklch(57.79% 0.174 326.3)
XYZxyz(27.4045, 17.1751, 42.4208)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DAF #50AF4D
analogous
#7B4DAF #AC4DAF #AF4D81
triadic
#AC4DAF #AFAC4D #4DAFAC
tetradic
#AC4DAF #AF7B4D #50AF4D #4D81AF
square
#AC4DAF #AF7B4D #50AF4D #4D81AF
split-complementary
#AC4DAF #81AF4D #4DAF7B
monochromatic
#58285A #823A85 #AC4DAF #C176C3 #D4A1D6

Accessibility & contrast

On white

4.74
#AC4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AC4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4DAF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DAF#FFFFFF#000000##FFFFFF
##AC4DAF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#B05977
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4daf;
/* rgb */ color: rgb(172, 77, 175);
/* oklch */ color: oklch(57.8% 0.174 326.3);
Tailwind
colors: {
  custom: {
    50: '#c784c7',
    500: '#ac4daf',
    950: '#000000',
  },
}
SCSS
$custom: #ac4daf;
$custom-light: #c784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4daf",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 298.163,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.17367,
    "h": 326.3
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#AC4DAF
secondary
#97C395
accent
#CF595D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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