#787CFC Color

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

Color preview

#787CFC

Color formats

HEX
#787CFC
RGB
rgb(120, 124, 252)
RGBA
rgba(120, 124, 252, 1)
HSL
hsl(238, 96%, 73%)
HSV
hsv(238, 52%, 99%)
CMYK
cmyk(52%, 51%, 0%, 1%)
CSS variable
--color-primary: #787CFC;
Lowercase HEX
#787cfc

Shades

Tints

Tones

Harmony

CSS snippets for #787CFC

.color-787cfc {
  color: #787CFC;
  background-color: #787CFC;
}

Frequently asked questions

What color is #787CFC?+

#787CFC is a HEX color with RGB value rgb(120, 124, 252) and HSL value hsl(238, 96%, 73%). Its closest CSS named color is MediumSlateBlue.

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

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