#AC4CA2#AC4CA2

#AC4CA2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.164 H 331.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AC4CA2
RGBrgb(172, 76, 162)
HSLhsl(306, 39%, 49%)
HSVhsv(306, 56%, 67%)
CMYKcmyk(0%, 55.8%, 5.8%, 32.5%)
CIE-LABlab(47.69, 50.55, -28.48)
CIE-LCHlch(47.69, 58.03, 330.60°)
OKLaboklab(57% 0.1442 -0.0778)
OKLCHoklch(57% 0.164 331.6)
XYZxyz(26.1192, 16.5499, 35.9942)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CA2 #4CAC56
analogous
#864CAC #AC4CA2 #AC4C72
triadic
#AC4CA2 #A2AC4C #4CA2AC
tetradic
#AC4CA2 #AC864C #4CAC56 #4C72AC
square
#AC4CA2 #AC864C #4CAC56 #4C72AC
split-complementary
#AC4CA2 #72AC4C #4CAC86
monochromatic
#572652 #82397A #AC4CA2 #C174B9 #D49ECF

Accessibility & contrast

On white

4.87
#AC4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AC4CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4CA2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CA2#FFFFFF#000000##FFFFFF
##AC4CA21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A5
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#B25470
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac4ca2;
/* rgb */ color: rgb(172, 76, 162);
/* oklch */ color: oklch(57.0% 0.164 331.6);
Tailwind
colors: {
  custom: {
    50: '#c783be',
    500: '#ac4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ca2;
$custom-light: #c783be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ca2",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 306.25,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.16382,
    "h": 331.6
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#AC4CA2
secondary
#93C198
accent
#CF6559
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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