#AC219E#AC219E

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

Color values

HEX#AC219E
RGBrgb(172, 33, 158)
HSLhsl(306, 68%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 80.8%, 8.1%, 32.5%)
CIE-LABlab(41.73, 65.98, -35.44)
CIE-LCHlch(41.73, 74.89, 331.76°)
OKLaboklab(52.62% 0.1905 -0.0975)
OKLCHoklch(52.62% 0.214 332.9)
XYZxyz(23.7288, 12.3291, 33.4711)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219E #21AC2F
analogous
#7421AC #AC219E #AC2159
triadic
#AC219E #9EAC21 #219EAC
tetradic
#AC219E #AC7421 #21AC2F #2159AC
square
#AC219E #AC7421 #21AC2F #2159AC
split-complementary
#AC219E #59AC21 #21AC74
monochromatic
#450D40 #79176F #AC219E #D832C7 #E266D5

Accessibility & contrast

On white

6.06
#AC219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219E#FFFFFF#000000##FFFFFF
##AC219E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A1
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#B43260
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac219e;
/* rgb */ color: rgb(172, 33, 158);
/* oklch */ color: oklch(52.6% 0.214 332.9);
Tailwind
colors: {
  custom: {
    50: '#c96fbb',
    500: '#ac219e',
    950: '#000000',
  },
}
SCSS
$custom: #ac219e;
$custom-light: #c96fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219e",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 306.043,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.21395,
    "h": 332.9
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#AC219E
secondary
#62C76C
accent
#EB4F3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC219E

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

Preview Lab → · Contrast checker → · Palette generator →

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