#786DEB Color

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

Color preview

#786DEB

Color formats

HEX
#786DEB
RGB
rgb(120, 109, 235)
RGBA
rgba(120, 109, 235, 1)
HSL
hsl(245, 76%, 67%)
HSV
hsv(245, 54%, 92%)
CMYK
cmyk(49%, 54%, 0%, 8%)
CSS variable
--color-primary: #786DEB;
Lowercase HEX
#786deb

Shades

Tints

Tones

Harmony

CSS snippets for #786DEB

.color-786deb {
  color: #786DEB;
  background-color: #786DEB;
}

Frequently asked questions

What color is #786DEB?+

#786DEB is a HEX color with RGB value rgb(120, 109, 235) and HSL value hsl(245, 76%, 67%). Its closest CSS named color is MediumSlateBlue.

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

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