#A66ACC#A66ACC

#A66ACC is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.154 H 310.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A66ACC
RGBrgb(166, 106, 204)
HSLhsl(277, 49%, 61%)
HSVhsv(277, 48%, 80%)
CMYKcmyk(18.6%, 48%, 0%, 20%)
CIE-LABlab(54.84, 41.68, -41.68)
CIE-LCHlch(54.84, 58.95, 315.00°)
OKLaboklab(62.79% 0.1008 -0.1162)
OKLCHoklch(62.79% 0.154 310.9)
XYZxyz(31.7770, 22.7753, 59.8371)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66ACC #90CC6A
analogous
#756ACC #A66ACC #CC6AC1
triadic
#A66ACC #CCA66A #6ACCA6
tetradic
#A66ACC #CC756A #90CC6A #6AC1CC
square
#A66ACC #CC756A #90CC6A #6AC1CC
split-complementary
#A66ACC #C1CC6A #6ACC75
monochromatic
#68308C #8A3FB9 #A66ACC #C198DC #DCC5EB

Accessibility & contrast

On white

3.78
#A66ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A66ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66ACC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66ACC#FFFFFF#000000##000000
##A66ACC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#A27A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a66acc;
/* rgb */ color: rgb(166, 106, 204);
/* oklch */ color: oklch(62.8% 0.154 310.9);
Tailwind
colors: {
  custom: {
    50: '#c296dc',
    500: '#a66acc',
    950: '#000000',
  },
}
SCSS
$custom: #a66acc;
$custom-light: #c296dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a66acc",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 276.735,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.15382,
    "h": 310.9
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#A66ACC
secondary
#C5DBB6
accent
#BC2962
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A66ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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