#AC66DC#AC66DC

#AC66DC is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.181 H 309.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AC66DC
RGBrgb(172, 102, 220)
HSLhsl(276, 63%, 63%)
HSVhsv(276, 54%, 86%)
CMYKcmyk(21.8%, 53.6%, 0%, 13.7%)
CIE-LABlab(55.52, 48.99, -49.62)
CIE-LCHlch(55.52, 69.73, 314.64°)
OKLaboklab(63.72% 0.1151 -0.1391)
OKLCHoklch(63.72% 0.181 309.6)
XYZxyz(34.6804, 23.4413, 70.3939)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC66DC #96DC66
analogous
#7166DC #AC66DC #DC66D1
triadic
#AC66DC #DCAC66 #66DCAC
tetradic
#AC66DC #DC7166 #96DC66 #66D1DC
square
#AC66DC #DC7166 #96DC66 #66D1DC
split-complementary
#AC66DC #D1DC66 #66DC71
monochromatic
#6F25A2 #9134D1 #AC66DC #C798E7 #E2CAF3

Accessibility & contrast

On white

3.69
#AC66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AC66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC66DC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC66DC#FFFFFF#000000##000000
##AC66DC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#A67B97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac66dc;
/* rgb */ color: rgb(172, 102, 220);
/* oklch */ color: oklch(63.7% 0.181 309.6);
Tailwind
colors: {
  custom: {
    50: '#c794e7',
    500: '#ac66dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac66dc;
$custom-light: #c794e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac66dc",
  "rgb": {
    "r": 172,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 275.593,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.18058,
    "h": 309.6
  },
  "luminance": 0.23441
}

Semantic roles & 50–950 ramp

primary
#AC66DC
secondary
#CBE4BA
accent
#CB1B62
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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