#787EF6 Color

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

Color preview

#787EF6

Color formats

HEX
#787EF6
RGB
rgb(120, 126, 246)
RGBA
rgba(120, 126, 246, 1)
HSL
hsl(237, 88%, 72%)
HSV
hsv(237, 51%, 96%)
CMYK
cmyk(51%, 49%, 0%, 4%)
CSS variable
--color-primary: #787EF6;
Lowercase HEX
#787ef6

Shades

Tints

Tones

Harmony

CSS snippets for #787EF6

.color-787ef6 {
  color: #787EF6;
  background-color: #787EF6;
}

Frequently asked questions

What color is #787EF6?+

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

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

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