#A66ECC#A66ECC

#A66ECC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.4% C 0.147 H 310.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A66ECC
RGBrgb(166, 110, 204)
HSLhsl(276, 48%, 62%)
HSVhsv(276, 46%, 80%)
CMYKcmyk(18.6%, 46.1%, 0%, 20%)
CIE-LABlab(55.70, 39.48, -40.32)
CIE-LCHlch(55.70, 56.43, 314.40°)
OKLaboklab(63.43% 0.0952 -0.1123)
OKLCHoklch(63.43% 0.147 310.3)
XYZxyz(32.1989, 23.6190, 59.9777)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66ECC #94CC6E
analogous
#776ECC #A66ECC #CC6EC3
triadic
#A66ECC #CCA66E #6ECCA6
tetradic
#A66ECC #CC776E #94CC6E #6EC3CC
square
#A66ECC #CC776E #94CC6E #6EC3CC
split-complementary
#A66ECC #C3CC6E #6ECC77
monochromatic
#69328E #8A42BB #A66ECC #C29BDC #DEC9EC

Accessibility & contrast

On white

3.67
#A66ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A66ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66ECC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66ECC#FFFFFF#000000##000000
##A66ECC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#A17D93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a66ecc;
/* rgb */ color: rgb(166, 110, 204);
/* oklch */ color: oklch(63.4% 0.147 310.3);
Tailwind
colors: {
  custom: {
    50: '#c299dc',
    500: '#a66ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a66ecc;
$custom-light: #c299dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ecc",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 275.745,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63434,
    "c": 0.14718,
    "h": 310.3
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#A66ECC
secondary
#C8DCB9
accent
#BB2A65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A66ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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