#AC2D9D#AC2D9D

#AC2D9D is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.202 H 333.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC2D9D
RGBrgb(172, 45, 157)
HSLhsl(307, 59%, 43%)
HSVhsv(307, 74%, 67%)
CMYKcmyk(0%, 73.8%, 8.7%, 32.5%)
CIE-LABlab(42.89, 62.36, -33.01)
CIE-LCHlch(42.89, 70.56, 332.10°)
OKLaboklab(53.43% 0.1803 -0.0905)
OKLCHoklch(53.43% 0.202 333.3)
XYZxyz(24.0376, 13.0838, 33.1512)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D9D #2DAC3C
analogous
#7C2DAC #AC2D9D #AC2D5D
triadic
#AC2D9D #9DAC2D #2D9DAC
tetradic
#AC2D9D #AC7C2D #2DAC3C #2D5DAC
square
#AC2D9D #AC7C2D #2DAC3C #2D5DAC
split-complementary
#AC2D9D #5DAC2D #2DAC7C
monochromatic
#4B1444 #7B2071 #AC2D9D #CF47BF #DC78D0

Accessibility & contrast

On white

5.81
#AC2D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC2D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D9D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D9D#FFFFFF#000000##FFFFFF
##AC2D9D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#B43A62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d9d;
/* rgb */ color: rgb(172, 45, 157);
/* oklch */ color: oklch(53.4% 0.202 333.3);
Tailwind
colors: {
  custom: {
    50: '#c873ba',
    500: '#ac2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d9d;
$custom-light: #c873ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d9d",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 307.087,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.20173,
    "h": 333.3
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#AC2D9D
secondary
#71C47B
accent
#E25846
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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