#787CF2 Color

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

Color preview

#787CF2

Color formats

HEX
#787CF2
RGB
rgb(120, 124, 242)
RGBA
rgba(120, 124, 242, 1)
HSL
hsl(238, 82%, 71%)
HSV
hsv(238, 50%, 95%)
CMYK
cmyk(50%, 49%, 0%, 5%)
CSS variable
--color-primary: #787CF2;
Lowercase HEX
#787cf2

Shades

Tints

Tones

Harmony

CSS snippets for #787CF2

.color-787cf2 {
  color: #787CF2;
  background-color: #787CF2;
}

Frequently asked questions

What color is #787CF2?+

#787CF2 is a HEX color with RGB value rgb(120, 124, 242) and HSL value hsl(238, 82%, 71%). Its closest CSS named color is MediumSlateBlue.

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

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