#786FDB Color

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

Color preview

#786FDB

Color formats

HEX
#786FDB
RGB
rgb(120, 111, 219)
RGBA
rgba(120, 111, 219, 1)
HSL
hsl(245, 60%, 65%)
HSV
hsv(245, 49%, 86%)
CMYK
cmyk(45%, 49%, 0%, 14%)
CSS variable
--color-primary: #786FDB;
Lowercase HEX
#786fdb

Shades

Tints

Tones

Harmony

CSS snippets for #786FDB

.color-786fdb {
  color: #786FDB;
  background-color: #786FDB;
}

Frequently asked questions

What color is #786FDB?+

#786FDB is a HEX color with RGB value rgb(120, 111, 219) and HSL value hsl(245, 60%, 65%). Its closest CSS named color is MediumSlateBlue.

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

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