#AC2AD4#AC2AD4

#AC2AD4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.247 H 316.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2AD4
RGBrgb(172, 42, 212)
HSLhsl(286, 67%, 50%)
HSVhsv(286, 80%, 83%)
CMYKcmyk(18.9%, 80.2%, 0%, 16.9%)
CIE-LABlab(45.88, 72.65, -60.53)
CIE-LCHlch(45.88, 94.56, 320.20°)
OKLaboklab(56.62% 0.1792 -0.1708)
OKLCHoklch(56.62% 0.248 316.4)
XYZxyz(29.7230, 15.1813, 63.6392)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AD4 #52D42A
analogous
#572AD4 #AC2AD4 #D42AA7
triadic
#AC2AD4 #D4AC2A #2AD4AC
tetradic
#AC2AD4 #D4572A #52D42A #2AA7D4
square
#AC2AD4 #D4572A #52D42A #2AA7D4
split-complementary
#AC2AD4 #A7D42A #2AD457
monochromatic
#59166E #8320A1 #AC2AD4 #C05CDF #D48FE9

Accessibility & contrast

On white

5.20
#AC2AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AC2AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AD4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AD4#FFFFFF#000000##FFFFFF
##AC2AD41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#A95381
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac2ad4;
/* rgb */ color: rgb(172, 42, 212);
/* oklch */ color: oklch(56.6% 0.247 316.4);
Tailwind
colors: {
  custom: {
    50: '#ca74e2',
    500: '#ac2ad4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ad4;
$custom-light: #ca74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ad4",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 212
  },
  "hsl": {
    "h": 285.882,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.2475,
    "h": 316.4
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#AC2AD4
secondary
#99D386
accent
#EA3E66
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140915
muted
#837B84

Preview Lab

Preview with #AC2AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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