#AC2DAC#AC2DAC

#AC2DAC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.213 H 328.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC2DAC
RGBrgb(172, 45, 172)
HSLhsl(300, 59%, 43%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0%, 73.8%, 0%, 32.5%)
CIE-LABlab(43.69, 64.75, -40.69)
CIE-LCHlch(43.69, 76.47, 327.85°)
OKLaboklab(54.27% 0.1807 -0.1128)
OKLCHoklch(54.27% 0.213 328)
XYZxyz(25.3977, 13.6278, 40.3145)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DAC #2DAC2D
analogous
#6C2DAC #AC2DAC #AC2D6C
triadic
#AC2DAC #ACAC2D #2DACAC
tetradic
#AC2DAC #AC6C2D #2DAC2D #2D6CAC
square
#AC2DAC #AC6C2D #2DAC2D #2D6CAC
split-complementary
#AC2DAC #6CAC2D #2DAC6C
monochromatic
#4B144B #7B207B #AC2DAC #CF47CF #DC78DC

Accessibility & contrast

On white

5.64
#AC2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DAC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DAC#FFFFFF#000000##FFFFFF
##AC2DAC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DAF
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#B1416A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2dac;
/* rgb */ color: rgb(172, 45, 172);
/* oklch */ color: oklch(54.3% 0.213 328.0);
Tailwind
colors: {
  custom: {
    50: '#c874c5',
    500: '#ac2dac',
    950: '#000000',
  },
}
SCSS
$custom: #ac2dac;
$custom-light: #c874c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2dac",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.21297,
    "h": 328
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#AC2DAC
secondary
#71C471
accent
#E24646
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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