#AC4FAA#AC4FAA

#AC4FAA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.166 H 328.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AC4FAA
RGBrgb(172, 79, 170)
HSLhsl(301, 37%, 49%)
HSVhsv(301, 54%, 67%)
CMYKcmyk(0%, 54.1%, 1.2%, 32.5%)
CIE-LABlab(48.59, 50.52, -31.79)
CIE-LCHlch(48.59, 59.69, 327.82°)
OKLaboklab(57.79% 0.1412 -0.0873)
OKLCHoklch(57.79% 0.166 328.3)
XYZxyz(27.0646, 17.2665, 39.9297)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4FAA #4FAC51
analogous
#804FAC #AC4FAA #AC4F7C
triadic
#AC4FAA #AAAC4F #4FAAAC
tetradic
#AC4FAA #AC804F #4FAC51 #4F7CAC
square
#AC4FAA #AC804F #4FAC51 #4F7CAC
split-complementary
#AC4FAA #7CAC4F #4FAC80
monochromatic
#582857 #823C81 #AC4FAA #C177BF #D4A1D3

Accessibility & contrast

On white

4.72
#AC4FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AC4FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4FAA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4FAA#FFFFFF#000000##FFFFFF
##AC4FAA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#B15975
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4faa;
/* rgb */ color: rgb(172, 79, 170);
/* oklch */ color: oklch(57.8% 0.166 328.3);
Tailwind
colors: {
  custom: {
    50: '#c785c3',
    500: '#ac4faa',
    950: '#000000',
  },
}
SCSS
$custom: #ac4faa;
$custom-light: #c785c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4faa",
  "rgb": {
    "r": 172,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 301.29,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.16604,
    "h": 328.3
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#AC4FAA
secondary
#96C197
accent
#CD5D5B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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