#787EFA Color

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

Color preview

#787EFA

Color formats

HEX
#787EFA
RGB
rgb(120, 126, 250)
RGBA
rgba(120, 126, 250, 1)
HSL
hsl(237, 93%, 73%)
HSV
hsv(237, 52%, 98%)
CMYK
cmyk(52%, 50%, 0%, 2%)
CSS variable
--color-primary: #787EFA;
Lowercase HEX
#787efa

Shades

Tints

Tones

Harmony

CSS snippets for #787EFA

.color-787efa {
  color: #787EFA;
  background-color: #787EFA;
}

Frequently asked questions

What color is #787EFA?+

#787EFA is a HEX color with RGB value rgb(120, 126, 250) and HSL value hsl(237, 93%, 73%). Its closest CSS named color is MediumSlateBlue.

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

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