#786BEB Color

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

Color preview

#786BEB

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #786BEB

.color-786beb {
  color: #786BEB;
  background-color: #786BEB;
}

Frequently asked questions

What color is #786BEB?+

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

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

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