#AC219A#AC219A

#AC219A is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 334.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC219A
RGBrgb(172, 33, 154)
HSLhsl(308, 68%, 40%)
HSVhsv(308, 81%, 67%)
CMYKcmyk(0%, 80.8%, 10.5%, 32.5%)
CIE-LABlab(41.52, 65.39, -33.36)
CIE-LCHlch(41.52, 73.41, 332.97°)
OKLaboklab(52.4% 0.1904 -0.0915)
OKLCHoklch(52.4% 0.211 334.3)
XYZxyz(23.3901, 12.1936, 31.6873)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219A #21AC33
analogous
#7921AC #AC219A #AC2154
triadic
#AC219A #9AAC21 #219AAC
tetradic
#AC219A #AC7921 #21AC33 #2154AC
square
#AC219A #AC7921 #21AC33 #2154AC
split-complementary
#AC219A #54AC21 #21AC79
monochromatic
#450D3E #79176C #AC219A #D832C2 #E266D2

Accessibility & contrast

On white

6.11
#AC219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219A#FFFFFF#000000##FFFFFF
##AC219A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#B4305D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac219a;
/* rgb */ color: rgb(172, 33, 154);
/* oklch */ color: oklch(52.4% 0.211 334.3);
Tailwind
colors: {
  custom: {
    50: '#c96eb8',
    500: '#ac219a',
    950: '#000000',
  },
}
SCSS
$custom: #ac219a;
$custom-light: #c96eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219a",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 307.77,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.21119,
    "h": 334.3
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#AC219A
secondary
#62C76F
accent
#EB543D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC219A

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

Preview Lab → · Contrast checker → · Palette generator →

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