#AC4FA7#AC4FA7

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

Color values

HEX#AC4FA7
RGBrgb(172, 79, 167)
HSLhsl(303, 37%, 49%)
HSVhsv(303, 54%, 67%)
CMYKcmyk(0%, 54.1%, 2.9%, 32.5%)
CIE-LABlab(48.45, 49.99, -30.24)
CIE-LCHlch(48.45, 58.42, 328.83°)
OKLaboklab(57.64% 0.1408 -0.0829)
OKLCHoklch(57.64% 0.163 329.5)
XYZxyz(26.7840, 17.1543, 38.4521)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FA7 #4FAC54
analogous
#834FAC #AC4FA7 #AC4F79
triadic
#AC4FA7 #A7AC4F #4FA7AC
tetradic
#AC4FA7 #AC834F #4FAC54 #4F79AC
square
#AC4FA7 #AC834F #4FAC54 #4F79AC
split-complementary
#AC4FA7 #79AC4F #4FAC83
monochromatic
#582856 #823C7E #AC4FA7 #C177BD #D4A1D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC4FA7#FFFFFF#000000##FFFFFF
##AC4FA71.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)
#496BAA
Deuteranopia (green-blind)
#6578A4
Tritanopia (blue-blind)
#B25874
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4fa7;
/* rgb */ color: rgb(172, 79, 167);
/* oklch */ color: oklch(57.6% 0.163 329.5);
Tailwind
colors: {
  custom: {
    50: '#c785c1',
    500: '#ac4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4fa7;
$custom-light: #c785c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4fa7",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 303.226,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.16338,
    "h": 329.5
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#AC4FA7
secondary
#96C198
accent
#CD615B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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