#786CE4 Color

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

Color preview

#786CE4

Color formats

HEX
#786CE4
RGB
rgb(120, 108, 228)
RGBA
rgba(120, 108, 228, 1)
HSL
hsl(246, 69%, 66%)
HSV
hsv(246, 53%, 89%)
CMYK
cmyk(47%, 53%, 0%, 11%)
CSS variable
--color-primary: #786CE4;
Lowercase HEX
#786ce4

Shades

Tints

Tones

Harmony

CSS snippets for #786CE4

.color-786ce4 {
  color: #786CE4;
  background-color: #786CE4;
}

Frequently asked questions

What color is #786CE4?+

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

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

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