#787AFA Color

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

Color preview

#787AFA

Color formats

HEX
#787AFA
RGB
rgb(120, 122, 250)
RGBA
rgba(120, 122, 250, 1)
HSL
hsl(239, 93%, 73%)
HSV
hsv(239, 52%, 98%)
CMYK
cmyk(52%, 51%, 0%, 2%)
CSS variable
--color-primary: #787AFA;
Lowercase HEX
#787afa

Shades

Tints

Tones

Harmony

CSS snippets for #787AFA

.color-787afa {
  color: #787AFA;
  background-color: #787AFA;
}

Frequently asked questions

What color is #787AFA?+

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

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

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