#AC4ECA#AC4ECA

#AC4ECA is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.4% C 0.198 H 317.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AC4ECA
RGBrgb(172, 78, 202)
HSLhsl(285, 54%, 55%)
HSVhsv(285, 61%, 79%)
CMYKcmyk(14.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(50.08, 57.10, -48.04)
CIE-LCHlch(50.08, 74.62, 319.93°)
OKLaboklab(59.41% 0.1449 -0.1344)
OKLCHoklch(59.41% 0.198 317.2)
XYZxyz(30.3968, 18.4849, 57.8324)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4ECA #6CCA4E
analogous
#6E4ECA #AC4ECA #CA4EAA
triadic
#AC4ECA #CAAC4E #4ECAAC
tetradic
#AC4ECA #CA6E4E #6CCA4E #4EAACA
square
#AC4ECA #CA6E4E #6CCA4E #4EAACA
split-complementary
#AC4ECA #AACA4E #4ECA6E
monochromatic
#652479 #8C32A8 #AC4ECA #C27DD8 #D8ACE6

Accessibility & contrast

On white

4.47
#AC4ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AC4ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4ECA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4ECA#FFFFFF#000000##000000
##AC4ECA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#AB6385
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac4eca;
/* rgb */ color: rgb(172, 78, 202);
/* oklch */ color: oklch(59.4% 0.198 317.2);
Tailwind
colors: {
  custom: {
    50: '#c885db',
    500: '#ac4eca',
    950: '#000000',
  },
}
SCSS
$custom: #ac4eca;
$custom-light: #c885db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4eca",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 285.484,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59415,
    "c": 0.19764,
    "h": 317.2
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#AC4ECA
secondary
#ACD4A0
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AC4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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