#787EC8 Color

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

Color preview

#787EC8

Color formats

HEX
#787EC8
RGB
rgb(120, 126, 200)
RGBA
rgba(120, 126, 200, 1)
HSL
hsl(236, 42%, 63%)
HSV
hsv(236, 40%, 78%)
CMYK
cmyk(40%, 37%, 0%, 22%)
CSS variable
--color-primary: #787EC8;
Lowercase HEX
#787ec8

Shades

Tints

Tones

Harmony

CSS snippets for #787EC8

.color-787ec8 {
  color: #787EC8;
  background-color: #787EC8;
}

Frequently asked questions

What color is #787EC8?+

#787EC8 is a HEX color with RGB value rgb(120, 126, 200) and HSL value hsl(236, 42%, 63%). Its closest CSS named color is MediumPurple.

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

The closest Tailwind color is slate-400, available as the bg-slate-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