#786CE5 Color

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

Color preview

#786CE5

Color formats

HEX
#786CE5
RGB
rgb(120, 108, 229)
RGBA
rgba(120, 108, 229, 1)
HSL
hsl(246, 70%, 66%)
HSV
hsv(246, 53%, 90%)
CMYK
cmyk(48%, 53%, 0%, 10%)
CSS variable
--color-primary: #786CE5;
Lowercase HEX
#786ce5

Shades

Tints

Tones

Harmony

CSS snippets for #786CE5

.color-786ce5 {
  color: #786CE5;
  background-color: #786CE5;
}

Frequently asked questions

What color is #786CE5?+

#786CE5 is a HEX color with RGB value rgb(120, 108, 229) and HSL value hsl(246, 70%, 66%). Its closest CSS named color is MediumSlateBlue.

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

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