#787ECC Color

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

Color preview

#787ECC

Color formats

HEX
#787ECC
RGB
rgb(120, 126, 204)
RGBA
rgba(120, 126, 204, 1)
HSL
hsl(236, 45%, 64%)
HSV
hsv(236, 41%, 80%)
CMYK
cmyk(41%, 38%, 0%, 20%)
CSS variable
--color-primary: #787ECC;
Lowercase HEX
#787ecc

Shades

Tints

Tones

Harmony

CSS snippets for #787ECC

.color-787ecc {
  color: #787ECC;
  background-color: #787ECC;
}

Frequently asked questions

What color is #787ECC?+

#787ECC is a HEX color with RGB value rgb(120, 126, 204) and HSL value hsl(236, 45%, 64%). Its closest CSS named color is MediumPurple.

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

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