#AC2CA4#AC2CA4

#AC2CA4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.208 H 330.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA4
RGBrgb(172, 44, 164)
HSLhsl(304, 59%, 42%)
HSVhsv(304, 74%, 67%)
CMYKcmyk(0%, 74.4%, 4.7%, 32.5%)
CIE-LABlab(43.14, 63.77, -36.80)
CIE-LCHlch(43.14, 73.63, 330.01°)
OKLaboklab(53.74% 0.1815 -0.1015)
OKLCHoklch(53.74% 0.208 330.8)
XYZxyz(24.6147, 13.2543, 36.3767)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA4 #2CAC34
analogous
#742CAC #AC2CA4 #AC2C64
triadic
#AC2CA4 #A4AC2C #2CA4AC
tetradic
#AC2CA4 #AC742C #2CAC34 #2C64AC
square
#AC2CA4 #AC742C #2CAC34 #2C64AC
split-complementary
#AC2CA4 #64AC2C #2CAC74
monochromatic
#4B1347 #7B2076 #AC2CA4 #D046C7 #DC76D6

Accessibility & contrast

On white

5.75
#AC2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC2CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA4#FFFFFF#000000##FFFFFF
##AC2CA41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#B33C66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ca4;
/* rgb */ color: rgb(172, 44, 164);
/* oklch */ color: oklch(53.7% 0.208 330.8);
Tailwind
colors: {
  custom: {
    50: '#c873bf',
    500: '#ac2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca4;
$custom-light: #c873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca4",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 303.75,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.20796,
    "h": 330.8
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#AC2CA4
secondary
#70C475
accent
#E24F45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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