#787CF6 Color

Inspect #787CF6 across formats, palettes, contrast and closest named color matches.

Color preview

#787CF6

Color formats

HEX
#787CF6
RGB
rgb(120, 124, 246)
RGBA
rgba(120, 124, 246, 1)
HSL
hsl(238, 88%, 72%)
HSV
hsv(238, 51%, 96%)
CMYK
cmyk(51%, 50%, 0%, 4%)
CSS variable
--color-primary: #787CF6;
Lowercase HEX
#787cf6

Shades

Tints

Tones

Harmony

CSS snippets for #787CF6

.color-787cf6 {
  color: #787CF6;
  background-color: #787CF6;
}

Frequently asked questions

What color is #787CF6?+

#787CF6 is a HEX color with RGB value rgb(120, 124, 246) and HSL value hsl(238, 88%, 72%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #787CF6?+

The closest Tailwind color is indigo-400, available as the bg-indigo-400 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