#AC4EDC#AC4EDC

#AC4EDC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.215 H 312.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC4EDC
RGBrgb(172, 78, 220)
HSLhsl(280, 67%, 58%)
HSVhsv(280, 65%, 86%)
CMYKcmyk(21.8%, 64.5%, 0%, 13.7%)
CIE-LABlab(51.14, 60.80, -56.63)
CIE-LCHlch(51.14, 83.09, 317.04°)
OKLaboklab(60.52% 0.1445 -0.1595)
OKLCHoklch(60.52% 0.215 312.2)
XYZxyz(32.6536, 19.3876, 69.7183)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EDC #7EDC4E
analogous
#654EDC #AC4EDC #DC4EC5
triadic
#AC4EDC #DCAC4E #4EDCAC
tetradic
#AC4EDC #DC654E #7EDC4E #4EC5DC
square
#AC4EDC #DC654E #7EDC4E #4EC5DC
split-complementary
#AC4EDC #C5DC4E #4EDC65
monochromatic
#6B1D93 #9027C6 #AC4EDC #C481E6 #DCB4F0

Accessibility & contrast

On white

4.31
#AC4EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC4EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EDC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EDC#FFFFFF#000000##000000
##AC4EDC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#A76A8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac4edc;
/* rgb */ color: rgb(172, 78, 220);
/* oklch */ color: oklch(60.5% 0.215 312.2);
Tailwind
colors: {
  custom: {
    50: '#c985e8',
    500: '#ac4edc',
    950: '#000000',
  },
}
SCSS
$custom: #ac4edc;
$custom-light: #c985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4edc",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 279.718,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.21527,
    "h": 312.2
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#AC4EDC
secondary
#BADFA7
accent
#EA3E78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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