#787FCC Color

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

Color preview

#787FCC

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #787FCC

.color-787fcc {
  color: #787FCC;
  background-color: #787FCC;
}

Frequently asked questions

What color is #787FCC?+

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

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

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