#AC40AE#AC40AE

#AC40AE is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.192 H 327.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC40AE
RGBrgb(172, 64, 174)
HSLhsl(299, 46%, 47%)
HSVhsv(299, 63%, 68%)
CMYKcmyk(1.1%, 63.2%, 0%, 31.8%)
CIE-LABlab(46.30, 58.03, -37.74)
CIE-LCHlch(46.30, 69.22, 326.96°)
OKLaboklab(56.18% 0.1608 -0.1043)
OKLCHoklch(56.18% 0.192 327)
XYZxyz(26.4862, 15.4951, 41.6320)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40AE #42AE40
analogous
#7540AE #AC40AE #AE4079
triadic
#AC40AE #AEAC40 #40AEAC
tetradic
#AC40AE #AE7540 #42AE40 #4079AE
square
#AC40AE #AE7540 #42AE40 #4079AE
split-complementary
#AC40AE #79AE40 #40AE75
monochromatic
#541F55 #803081 #AC40AE #C565C6 #D692D7

Accessibility & contrast

On white

5.12
#AC40AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AC40AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40AE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40AE#FFFFFF#000000##FFFFFF
##AC40AE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#B14F71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac40ae;
/* rgb */ color: rgb(172, 64, 174);
/* oklch */ color: oklch(56.2% 0.192 327.0);
Tailwind
colors: {
  custom: {
    50: '#c87dc6',
    500: '#ac40ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac40ae;
$custom-light: #c87dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40ae",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 298.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.19169,
    "h": 327
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#AC40AE
secondary
#89C288
accent
#D65254
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AC40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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