#A666EB Color

Inspect #A666EB across formats, palettes, contrast and closest named color matches.

Color preview

#A666EB

Color formats

HEX
#A666EB
RGB
rgb(166, 102, 235)
RGBA
rgba(166, 102, 235, 1)
HSL
hsl(269, 77%, 66%)
HSV
hsv(269, 57%, 92%)
CMYK
cmyk(29%, 57%, 0%, 8%)
CSS variable
--color-primary: #A666EB;
Lowercase HEX
#a666eb

Shades

Tints

Tones

Harmony

CSS snippets for #A666EB

.color-a666eb {
  color: #A666EB;
  background-color: #A666EB;
}

Frequently asked questions

What color is #A666EB?+

#A666EB is a HEX color with RGB value rgb(166, 102, 235) and HSL value hsl(269, 77%, 66%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A666EB?+

The closest Tailwind color is purple-500, available as the bg-purple-500 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools