#AC2ED3#AC2ED3

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

Color values

HEX#AC2ED3
RGBrgb(172, 46, 211)
HSLhsl(286, 65%, 50%)
HSVhsv(286, 78%, 83%)
CMYKcmyk(18.5%, 78.2%, 0%, 17.3%)
CIE-LABlab(46.22, 71.30, -59.41)
CIE-LCHlch(46.22, 92.81, 320.20°)
OKLaboklab(56.83% 0.1764 -0.1675)
OKLCHoklch(56.83% 0.243 316.5)
XYZxyz(29.7463, 15.4290, 63.0266)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2ED3 #55D32E
analogous
#592ED3 #AC2ED3 #D32EA7
triadic
#AC2ED3 #D3AC2E #2ED3AC
tetradic
#AC2ED3 #D3592E #55D32E #2EA7D3
square
#AC2ED3 #D3592E #55D32E #2EA7D3
split-complementary
#AC2ED3 #A7D32E #2ED359
monochromatic
#5A176F #8422A2 #AC2ED3 #C061DE #D493E8

Accessibility & contrast

On white

5.14
#AC2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AC2ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2ED3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2ED3#FFFFFF#000000##FFFFFF
##AC2ED31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#AA5481
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ac2ed3;
/* rgb */ color: rgb(172, 46, 211);
/* oklch */ color: oklch(56.8% 0.243 316.5);
Tailwind
colors: {
  custom: {
    50: '#c976e1',
    500: '#ac2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ed3;
$custom-light: #c976e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ed3",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 285.818,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5683,
    "c": 0.24323,
    "h": 316.5
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#AC2ED3
secondary
#9BD38A
accent
#E84067
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AC2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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