#AC66E4#AC66E4

#AC66E4 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.190 H 307.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC66E4
RGBrgb(172, 102, 228)
HSLhsl(273, 70%, 65%)
HSVhsv(273, 55%, 89%)
CMYKcmyk(24.6%, 55.3%, 0%, 10.6%)
CIE-LABlab(55.96, 50.79, -53.42)
CIE-LCHlch(55.96, 73.71, 313.55°)
OKLaboklab(64.18% 0.1155 -0.1503)
OKLCHoklch(64.18% 0.19 307.6)
XYZxyz(35.7654, 23.8753, 76.1080)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66E4 #9EE466
analogous
#6D66E4 #AC66E4 #E466DD
triadic
#AC66E4 #E4AC66 #66E4AC
tetradic
#AC66E4 #E46D66 #9EE466 #66DDE4
square
#AC66E4 #E46D66 #9EE466 #66DDE4
split-complementary
#AC66E4 #DDE466 #66E46D
monochromatic
#701FB0 #9032DB #AC66E4 #C89AED #E4CEF6

Accessibility & contrast

On white

3.64
#AC66E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AC66E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66E4#FFFFFF#000000##000000
##AC66E41.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#A47D9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac66e4;
/* rgb */ color: rgb(172, 102, 228);
/* oklch */ color: oklch(64.2% 0.190 307.6);
Tailwind
colors: {
  custom: {
    50: '#c894ed',
    500: '#ac66e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac66e4;
$custom-light: #c894ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66e4",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 273.333,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.18953,
    "h": 307.6
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#AC66E4
secondary
#D0E9BD
accent
#D21468
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC66E4

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

Preview Lab → · Contrast checker → · Palette generator →

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