#AC2DB4#AC2DB4

#AC2DB4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.219 H 325.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AC2DB4
RGBrgb(172, 45, 180)
HSLhsl(296, 60%, 44%)
HSVhsv(296, 75%, 71%)
CMYKcmyk(4.4%, 75%, 0%, 29.4%)
CIE-LABlab(44.15, 66.08, -44.69)
CIE-LCHlch(44.15, 79.77, 325.93°)
OKLaboklab(54.75% 0.1805 -0.1244)
OKLCHoklch(54.75% 0.219 325.4)
XYZxyz(26.1893, 13.9445, 44.4833)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB4 #35B42D
analogous
#682DB4 #AC2DB4 #B42D79
triadic
#AC2DB4 #B4AC2D #2DB4AC
tetradic
#AC2DB4 #B4682D #35B42D #2D79B4
square
#AC2DB4 #B4682D #35B42D #2D79B4
split-complementary
#AC2DB4 #79B42D #2DB468
monochromatic
#4E1552 #7D2183 #AC2DB4 #CA4CD2 #D97DDE

Accessibility & contrast

On white

5.54
#AC2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB4#FFFFFF#000000##FFFFFF
##AC2DB41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#B0456F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2db4;
/* rgb */ color: rgb(172, 45, 180);
/* oklch */ color: oklch(54.7% 0.219 325.4);
Tailwind
colors: {
  custom: {
    50: '#c974cb',
    500: '#ac2db4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db4;
$custom-light: #c974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db4",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 296.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.21918,
    "h": 325.4
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#AC2DB4
secondary
#7BC776
accent
#E3454E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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