#787CD8 Color

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

Color preview

#787CD8

Color formats

HEX
#787CD8
RGB
rgb(120, 124, 216)
RGBA
rgba(120, 124, 216, 1)
HSL
hsl(238, 55%, 66%)
HSV
hsv(238, 44%, 85%)
CMYK
cmyk(44%, 43%, 0%, 15%)
CSS variable
--color-primary: #787CD8;
Lowercase HEX
#787cd8

Shades

Tints

Tones

Harmony

CSS snippets for #787CD8

.color-787cd8 {
  color: #787CD8;
  background-color: #787CD8;
}

Frequently asked questions

What color is #787CD8?+

#787CD8 is a HEX color with RGB value rgb(120, 124, 216) and HSL value hsl(238, 55%, 66%). Its closest CSS named color is MediumPurple.

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

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