#A766F2 Color

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

Color preview

#A766F2

Color formats

HEX
#A766F2
RGB
rgb(167, 102, 242)
RGBA
rgba(167, 102, 242, 1)
HSL
hsl(268, 84%, 67%)
HSV
hsv(268, 58%, 95%)
CMYK
cmyk(31%, 58%, 0%, 5%)
CSS variable
--color-primary: #A766F2;
Lowercase HEX
#a766f2

Shades

Tints

Tones

Harmony

CSS snippets for #A766F2

.color-a766f2 {
  color: #A766F2;
  background-color: #A766F2;
}

Frequently asked questions

What color is #A766F2?+

#A766F2 is a HEX color with RGB value rgb(167, 102, 242) and HSL value hsl(268, 84%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A766F2?+

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