#AC66E7#AC66E7

#AC66E7 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.4% C 0.193 H 306.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC66E7
RGBrgb(172, 102, 231)
HSLhsl(273, 73%, 65%)
HSVhsv(273, 56%, 91%)
CMYKcmyk(25.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(56.13, 51.47, -54.83)
CIE-LCHlch(56.13, 75.21, 313.19°)
OKLaboklab(64.36% 0.1156 -0.1544)
OKLCHoklch(64.36% 0.193 306.8)
XYZxyz(36.1854, 24.0433, 78.3204)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66E7 #A1E766
analogous
#6B66E7 #AC66E7 #E766E1
triadic
#AC66E7 #E7AC66 #66E7AC
tetradic
#AC66E7 #E76B66 #A1E766 #66E1E7
square
#AC66E7 #E76B66 #A1E766 #66E1E7
split-complementary
#AC66E7 #E1E766 #66E76B
monochromatic
#701DB6 #8F31DF #AC66E7 #C99BEF #E5D0F8

Accessibility & contrast

On white

3.62
#AC66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AC66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66E7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66E7#FFFFFF#000000##000000
##AC66E71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#A37E9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac66e7;
/* rgb */ color: rgb(172, 102, 231);
/* oklch */ color: oklch(64.4% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#c894ef',
    500: '#ac66e7',
    950: '#000000',
  },
}
SCSS
$custom: #ac66e7;
$custom-light: #c894ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66e7",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 272.558,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.19288,
    "h": 306.8
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#AC66E7
secondary
#D3EABF
accent
#D5116A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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