#AC66EC#AC66EC

#AC66EC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.7% C 0.198 H 305.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC66EC
RGBrgb(172, 102, 236)
HSLhsl(271, 78%, 66%)
HSVhsv(271, 57%, 93%)
CMYKcmyk(27.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(56.42, 52.62, -57.17)
CIE-LCHlch(56.42, 77.70, 312.62°)
OKLaboklab(64.66% 0.1157 -0.1612)
OKLCHoklch(64.66% 0.198 305.7)
XYZxyz(36.9017, 24.3298, 82.0927)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66EC #A6EC66
analogous
#6966EC #AC66EC #EC66E9
triadic
#AC66EC #ECAC66 #66ECAC
tetradic
#AC66EC #EC6966 #A6EC66 #66E9EC
square
#AC66EC #EC6966 #A6EC66 #66E9EC
split-complementary
#AC66EC #E9EC66 #66EC69
monochromatic
#7018C0 #8E30E5 #AC66EC #CA9CF3 #E7D3FA

Accessibility & contrast

On white

3.58
#AC66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AC66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66EC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66EC#FFFFFF#000000##000000
##AC66EC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#A1809F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac66ec;
/* rgb */ color: rgb(172, 102, 236);
/* oklch */ color: oklch(64.7% 0.198 305.7);
Tailwind
colors: {
  custom: {
    50: '#c894f3',
    500: '#ac66ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac66ec;
$custom-light: #c894f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66ec",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 271.343,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.19848,
    "h": 305.7
  },
  "luminance": 0.2433
}

Semantic roles & 50–950 ramp

primary
#AC66EC
secondary
#D6EDC1
accent
#DA0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AC66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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