#786AF2 Color

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

Color preview

#786AF2

Color formats

HEX
#786AF2
RGB
rgb(120, 106, 242)
RGBA
rgba(120, 106, 242, 1)
HSL
hsl(246, 84%, 68%)
HSV
hsv(246, 56%, 95%)
CMYK
cmyk(50%, 56%, 0%, 5%)
CSS variable
--color-primary: #786AF2;
Lowercase HEX
#786af2

Shades

Tints

Tones

Harmony

CSS snippets for #786AF2

.color-786af2 {
  color: #786AF2;
  background-color: #786AF2;
}

Frequently asked questions

What color is #786AF2?+

#786AF2 is a HEX color with RGB value rgb(120, 106, 242) and HSL value hsl(246, 84%, 68%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #786AF2?+

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