#A786F4 Color

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

Color preview

#A786F4

Color formats

HEX
#A786F4
RGB
rgb(167, 134, 244)
RGBA
rgba(167, 134, 244, 1)
HSL
hsl(258, 83%, 74%)
HSV
hsv(258, 45%, 96%)
CMYK
cmyk(32%, 45%, 0%, 4%)
CSS variable
--color-primary: #A786F4;
Lowercase HEX
#a786f4

Shades

Tints

Tones

Harmony

CSS snippets for #A786F4

.color-a786f4 {
  color: #A786F4;
  background-color: #A786F4;
}

Frequently asked questions

What color is #A786F4?+

#A786F4 is a HEX color with RGB value rgb(167, 134, 244) and HSL value hsl(258, 83%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A786F4?+

The closest Tailwind color is violet-400, available as the bg-violet-400 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