#AC42AE#AC42AE

#AC42AE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.189 H 327.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AC42AE
RGBrgb(172, 66, 174)
HSLhsl(299, 45%, 47%)
HSVhsv(299, 62%, 68%)
CMYKcmyk(1.1%, 62.1%, 0%, 31.8%)
CIE-LABlab(46.61, 57.18, -37.26)
CIE-LCHlch(46.61, 68.25, 326.91°)
OKLaboklab(56.41% 0.1584 -0.103)
OKLCHoklch(56.41% 0.189 327)
XYZxyz(26.6010, 15.7248, 41.6703)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42AE #44AE42
analogous
#7642AE #AC42AE #AE427A
triadic
#AC42AE #AEAC42 #42AEAC
tetradic
#AC42AE #AE7642 #44AE42 #427AAE
square
#AC42AE #AE7642 #44AE42 #427AAE
split-complementary
#AC42AE #7AAE42 #42AE76
monochromatic
#542055 #803182 #AC42AE #C468C6 #D594D6

Accessibility & contrast

On white

5.07
#AC42AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AC42AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42AE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42AE#FFFFFF#000000##FFFFFF
##AC42AE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#B15072
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ac42ae;
/* rgb */ color: rgb(172, 66, 174);
/* oklch */ color: oklch(56.4% 0.189 327.0);
Tailwind
colors: {
  custom: {
    50: '#c87ec6',
    500: '#ac42ae',
    950: '#000000',
  },
}
SCSS
$custom: #ac42ae;
$custom-light: #c87ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42ae",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 298.889,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.18894,
    "h": 327
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#AC42AE
secondary
#8BC28A
accent
#D55356
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AC42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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