#787FCF Color

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

Color preview

#787FCF

Color formats

HEX
#787FCF
RGB
rgb(120, 127, 207)
RGBA
rgba(120, 127, 207, 1)
HSL
hsl(235, 48%, 64%)
HSV
hsv(235, 42%, 81%)
CMYK
cmyk(42%, 39%, 0%, 19%)
CSS variable
--color-primary: #787FCF;
Lowercase HEX
#787fcf

Shades

Tints

Tones

Harmony

CSS snippets for #787FCF

.color-787fcf {
  color: #787FCF;
  background-color: #787FCF;
}

Frequently asked questions

What color is #787FCF?+

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

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

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