#AC2CD4#AC2CD4

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

Color values

HEX#AC2CD4
RGBrgb(172, 44, 212)
HSLhsl(286, 66%, 50%)
HSVhsv(286, 79%, 83%)
CMYKcmyk(18.9%, 79.2%, 0%, 16.9%)
CIE-LABlab(46.08, 72.08, -60.21)
CIE-LCHlch(46.08, 93.92, 320.13°)
OKLaboklab(56.76% 0.1777 -0.1698)
OKLCHoklch(56.76% 0.246 316.3)
XYZxyz(29.7958, 15.3267, 63.6634)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CD4 #54D42C
analogous
#582CD4 #AC2CD4 #D42CA8
triadic
#AC2CD4 #D4AC2C #2CD4AC
tetradic
#AC2CD4 #D4582C #54D42C #2CA8D4
square
#AC2CD4 #D4582C #54D42C #2CA8D4
split-complementary
#AC2CD4 #A8D42C #2CD458
monochromatic
#5A176F #8321A2 #AC2CD4 #C05FDE #D492E9

Accessibility & contrast

On white

5.17
#AC2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AC2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CD4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CD4#FFFFFF#000000##FFFFFF
##AC2CD41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2cd4;
/* rgb */ color: rgb(172, 44, 212);
/* oklch */ color: oklch(56.8% 0.246 316.3);
Tailwind
colors: {
  custom: {
    50: '#ca75e2',
    500: '#ac2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ac2cd4;
$custom-light: #ca75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2cd4",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 285.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.24581,
    "h": 316.3
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#AC2CD4
secondary
#9AD388
accent
#E93F67
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140915
muted
#827B84

Preview Lab

Preview with #AC2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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