#786AD8 Color

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

Color preview

#786AD8

Color formats

HEX
#786AD8
RGB
rgb(120, 106, 216)
RGBA
rgba(120, 106, 216, 1)
HSL
hsl(248, 59%, 63%)
HSV
hsv(248, 51%, 85%)
CMYK
cmyk(44%, 51%, 0%, 15%)
CSS variable
--color-primary: #786AD8;
Lowercase HEX
#786ad8

Shades

Tints

Tones

Harmony

CSS snippets for #786AD8

.color-786ad8 {
  color: #786AD8;
  background-color: #786AD8;
}

Frequently asked questions

What color is #786AD8?+

#786AD8 is a HEX color with RGB value rgb(120, 106, 216) and HSL value hsl(248, 59%, 63%). Its closest CSS named color is MediumSlateBlue.

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

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