#AC7EE4#AC7EE4

#AC7EE4 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.152 H 303.4°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AC7EE4
RGBrgb(172, 126, 228)
HSLhsl(267, 65%, 69%)
HSVhsv(267, 45%, 89%)
CMYKcmyk(24.6%, 44.7%, 0%, 10.6%)
CIE-LABlab(61.04, 37.80, -45.37)
CIE-LCHlch(61.04, 59.05, 309.80°)
OKLaboklab(67.95% 0.0837 -0.1268)
OKLCHoklch(67.95% 0.152 303.4)
XYZxyz(38.4747, 29.2939, 77.0111)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EE4 #B6E47E
analogous
#7E83E4 #AC7EE4 #DF7EE4
triadic
#AC7EE4 #E4AC7E #7EE4AC
tetradic
#AC7EE4 #E47E83 #B6E47E #7EE4DF
square
#AC7EE4 #E47E83 #B6E47E #7EE4DF
split-complementary
#AC7EE4 #E4DF7E #83E47E
monochromatic
#6C28C0 #8B4BD9 #AC7EE4 #CDB1EF #EDE3F9

Accessibility & contrast

On white

3.06
#AC7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AC7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7EE4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EE4#FFFFFF#000000##000000
##AC7EE41.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E8
Deuteranopia (green-blind)
#6D93E1
Tritanopia (blue-blind)
#A28FA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7ee4;
/* rgb */ color: rgb(172, 126, 228);
/* oklch */ color: oklch(68.0% 0.152 303.4);
Tailwind
colors: {
  custom: {
    50: '#c7a4ed',
    500: '#ac7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ac7ee4;
$custom-light: #c7a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7ee4",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 267.059,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.15196,
    "h": 303.4
  },
  "luminance": 0.29294
}

Semantic roles & 50–950 ramp

primary
#AC7EE4
secondary
#E0EED0
accent
#CD187C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AC7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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