#AC219D#AC219D

#AC219D is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.213 H 333.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC219D
RGBrgb(172, 33, 157)
HSLhsl(306, 68%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 80.8%, 8.7%, 32.5%)
CIE-LABlab(41.68, 65.83, -34.92)
CIE-LCHlch(41.68, 74.52, 332.06°)
OKLaboklab(52.57% 0.1904 -0.096)
OKLCHoklch(52.57% 0.213 333.3)
XYZxyz(23.6431, 12.2948, 33.0197)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219D #21AC30
analogous
#7621AC #AC219D #AC2157
triadic
#AC219D #9DAC21 #219DAC
tetradic
#AC219D #AC7621 #21AC30 #2157AC
square
#AC219D #AC7621 #21AC30 #2157AC
split-complementary
#AC219D #57AC21 #21AC76
monochromatic
#450D3F #79176E #AC219D #D832C6 #E266D4

Accessibility & contrast

On white

6.07
#AC219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219D#FFFFFF#000000##FFFFFF
##AC219D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#54699A
Tritanopia (blue-blind)
#B4325F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac219d;
/* rgb */ color: rgb(172, 33, 157);
/* oklch */ color: oklch(52.6% 0.213 333.3);
Tailwind
colors: {
  custom: {
    50: '#c96fba',
    500: '#ac219d',
    950: '#000000',
  },
}
SCSS
$custom: #ac219d;
$custom-light: #c96fba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219d",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 306.475,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.21325,
    "h": 333.3
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#AC219D
secondary
#62C76D
accent
#EB503D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC219D

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

Preview Lab → · Contrast checker → · Palette generator →

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