#AC2CA1#AC2CA1

#AC2CA1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.206 H 331.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA1
RGBrgb(172, 44, 161)
HSLhsl(305, 59%, 42%)
HSVhsv(305, 74%, 67%)
CMYKcmyk(0%, 74.4%, 6.4%, 32.5%)
CIE-LABlab(42.98, 63.30, -35.26)
CIE-LCHlch(42.98, 72.46, 330.88°)
OKLaboklab(53.57% 0.1814 -0.097)
OKLCHoklch(53.57% 0.206 331.9)
XYZxyz(24.3470, 13.1472, 34.9667)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA1 #2CAC37
analogous
#772CAC #AC2CA1 #AC2C61
triadic
#AC2CA1 #A1AC2C #2CA1AC
tetradic
#AC2CA1 #AC772C #2CAC37 #2C61AC
square
#AC2CA1 #AC772C #2CAC37 #2C61AC
split-complementary
#AC2CA1 #61AC2C #2CAC77
monochromatic
#4B1346 #7B2073 #AC2CA1 #D046C4 #DC76D3

Accessibility & contrast

On white

5.79
#AC2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA1#FFFFFF#000000##FFFFFF
##AC2CA11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#B33B64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2ca1;
/* rgb */ color: rgb(172, 44, 161);
/* oklch */ color: oklch(53.6% 0.206 331.9);
Tailwind
colors: {
  custom: {
    50: '#c873bd',
    500: '#ac2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca1;
$custom-light: #c873bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca1",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 305.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.20573,
    "h": 331.9
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#AC2CA1
secondary
#70C477
accent
#E25345
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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