#AC2DCC#AC2DCC

#AC2DCC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.238 H 318.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AC2DCC
RGBrgb(172, 45, 204)
HSLhsl(288, 64%, 49%)
HSVhsv(288, 78%, 80%)
CMYKcmyk(15.7%, 77.9%, 0%, 20%)
CIE-LABlab(45.65, 70.31, -56.30)
CIE-LCHlch(45.65, 90.07, 321.31°)
OKLaboklab(56.28% 0.1782 -0.1584)
OKLCHoklch(56.28% 0.238 318.4)
XYZxyz(28.8492, 15.0084, 58.4923)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DCC #4DCC2D
analogous
#5D2DCC #AC2DCC #CC2D9D
triadic
#AC2DCC #CCAC2D #2DCCAC
tetradic
#AC2DCC #CC5D2D #4DCC2D #2D9DCC
square
#AC2DCC #CC5D2D #4DCC2D #2D9DCC
split-complementary
#AC2DCC #9DCC2D #2DCC5D
monochromatic
#571768 #82229A #AC2DCC #C15BDB #D48DE6

Accessibility & contrast

On white

5.25
#AC2DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AC2DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DCC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DCC#FFFFFF#000000##FFFFFF
##AC2DCC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#AB507D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac2dcc;
/* rgb */ color: rgb(172, 45, 204);
/* oklch */ color: oklch(56.3% 0.238 318.4);
Tailwind
colors: {
  custom: {
    50: '#c975dc',
    500: '#ac2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #ac2dcc;
$custom-light: #c975dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2dcc",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 287.925,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.2384,
    "h": 318.4
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#AC2DCC
secondary
#94D085
accent
#E74162
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AC2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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