#787CEB Color

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

Color preview

#787CEB

Color formats

HEX
#787CEB
RGB
rgb(120, 124, 235)
RGBA
rgba(120, 124, 235, 1)
HSL
hsl(238, 74%, 70%)
HSV
hsv(238, 49%, 92%)
CMYK
cmyk(49%, 47%, 0%, 8%)
CSS variable
--color-primary: #787CEB;
Lowercase HEX
#787ceb

Shades

Tints

Tones

Harmony

CSS snippets for #787CEB

.color-787ceb {
  color: #787CEB;
  background-color: #787CEB;
}

Frequently asked questions

What color is #787CEB?+

#787CEB is a HEX color with RGB value rgb(120, 124, 235) and HSL value hsl(238, 74%, 70%). Its closest CSS named color is MediumSlateBlue.

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

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