#AC4ECC#AC4ECC

#AC4ECC is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.200 H 316.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AC4ECC
RGBrgb(172, 78, 204)
HSLhsl(285, 55%, 55%)
HSVhsv(285, 62%, 80%)
CMYKcmyk(15.7%, 61.8%, 0%, 20%)
CIE-LABlab(50.19, 57.51, -49.01)
CIE-LCHlch(50.19, 75.56, 319.56°)
OKLaboklab(59.53% 0.1449 -0.1372)
OKLCHoklch(59.53% 0.2 316.6)
XYZxyz(30.6351, 18.5802, 59.0876)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4ECC #6ECC4E
analogous
#6D4ECC #AC4ECC #CC4EAD
triadic
#AC4ECC #CCAC4E #4ECCAC
tetradic
#AC4ECC #CC6D4E #6ECC4E #4EADCC
square
#AC4ECC #CC6D4E #6ECC4E #4EADCC
split-complementary
#AC4ECC #ADCC4E #4ECC6D
monochromatic
#65247C #8C31AB #AC4ECC #C27EDA #D9ADE7

Accessibility & contrast

On white

4.45
#AC4ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AC4ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4ECC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4ECC#FFFFFF#000000##000000
##AC4ECC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#AA6486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac4ecc;
/* rgb */ color: rgb(172, 78, 204);
/* oklch */ color: oklch(59.5% 0.200 316.6);
Tailwind
colors: {
  custom: {
    50: '#c885dc',
    500: '#ac4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ecc;
$custom-light: #c885dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ecc",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 284.762,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.19959,
    "h": 316.6
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#AC4ECC
secondary
#AED5A1
accent
#DF496F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AC4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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