#AC2DD4#AC2DD4

#AC2DD4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.245 H 316.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2DD4
RGBrgb(172, 45, 212)
HSLhsl(286, 66%, 50%)
HSVhsv(286, 79%, 83%)
CMYKcmyk(18.9%, 78.8%, 0%, 16.9%)
CIE-LABlab(46.18, 71.78, -60.04)
CIE-LCHlch(46.18, 93.59, 320.09°)
OKLaboklab(56.83% 0.177 -0.1694)
OKLCHoklch(56.83% 0.245 316.3)
XYZxyz(29.8335, 15.4021, 63.6760)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DD4 #55D42D
analogous
#592DD4 #AC2DD4 #D42DA8
triadic
#AC2DD4 #D4AC2D #2DD4AC
tetradic
#AC2DD4 #D4592D #55D42D #2DA8D4
square
#AC2DD4 #D4592D #55D42D #2DA8D4
split-complementary
#AC2DD4 #A8D42D #2DD459
monochromatic
#5A1770 #8421A3 #AC2DD4 #C060DE #D493E9

Accessibility & contrast

On white

5.15
#AC2DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AC2DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DD4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DD4#FFFFFF#000000##FFFFFF
##AC2DD41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#2B71D0
Tritanopia (blue-blind)
#A95481
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac2dd4;
/* rgb */ color: rgb(172, 45, 212);
/* oklch */ color: oklch(56.8% 0.245 316.3);
Tailwind
colors: {
  custom: {
    50: '#ca75e2',
    500: '#ac2dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2dd4;
$custom-light: #ca75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2dd4",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 212
  },
  "hsl": {
    "h": 285.629,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.24494,
    "h": 316.3
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#AC2DD4
secondary
#9BD489
accent
#E93F68
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140915
muted
#827B84

Preview Lab

Preview with #AC2DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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