#AC4EE2#AC4EE2

#AC4EE2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.221 H 310.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC4EE2
RGBrgb(172, 78, 226)
HSLhsl(278, 72%, 60%)
HSVhsv(278, 65%, 89%)
CMYKcmyk(23.9%, 65.5%, 0%, 11.4%)
CIE-LABlab(51.51, 62.07, -59.43)
CIE-LCHlch(51.51, 85.93, 316.24°)
OKLaboklab(60.91% 0.1442 -0.1678)
OKLCHoklch(60.91% 0.221 310.7)
XYZxyz(33.4625, 19.7112, 73.9786)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4EE2 #84E24E
analogous
#624EE2 #AC4EE2 #E24ECE
triadic
#AC4EE2 #E2AC4E #4EE2AC
tetradic
#AC4EE2 #E2624E #84E24E #4ECEE2
square
#AC4EE2 #E2624E #84E24E #4ECEE2
split-complementary
#AC4EE2 #CEE24E #4EE262
monochromatic
#6C1A9C #9122D1 #AC4EE2 #C583EB #DDB7F3

Accessibility & contrast

On white

4.25
#AC4EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AC4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4EE2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4EE2#FFFFFF#000000##000000
##AC4EE21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#A56C92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac4ee2;
/* rgb */ color: rgb(172, 78, 226);
/* oklch */ color: oklch(60.9% 0.221 310.7);
Tailwind
colors: {
  custom: {
    50: '#c986ec',
    500: '#ac4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4ee2;
$custom-light: #c986ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4ee2",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 278.108,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.2212,
    "h": 310.7
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#AC4EE2
secondary
#BEE3A9
accent
#EF397B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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