#786FE2 Color

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

Color preview

#786FE2

Color formats

HEX
#786FE2
RGB
rgb(120, 111, 226)
RGBA
rgba(120, 111, 226, 1)
HSL
hsl(245, 66%, 66%)
HSV
hsv(245, 51%, 89%)
CMYK
cmyk(47%, 51%, 0%, 11%)
CSS variable
--color-primary: #786FE2;
Lowercase HEX
#786fe2

Shades

Tints

Tones

Harmony

CSS snippets for #786FE2

.color-786fe2 {
  color: #786FE2;
  background-color: #786FE2;
}

Frequently asked questions

What color is #786FE2?+

#786FE2 is a HEX color with RGB value rgb(120, 111, 226) and HSL value hsl(245, 66%, 66%). Its closest CSS named color is MediumSlateBlue.

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

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