#787CFB Color

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

Color preview

#787CFB

Color formats

HEX
#787CFB
RGB
rgb(120, 124, 251)
RGBA
rgba(120, 124, 251, 1)
HSL
hsl(238, 94%, 73%)
HSV
hsv(238, 52%, 98%)
CMYK
cmyk(52%, 51%, 0%, 2%)
CSS variable
--color-primary: #787CFB;
Lowercase HEX
#787cfb

Shades

Tints

Tones

Harmony

CSS snippets for #787CFB

.color-787cfb {
  color: #787CFB;
  background-color: #787CFB;
}

Frequently asked questions

What color is #787CFB?+

#787CFB is a HEX color with RGB value rgb(120, 124, 251) and HSL value hsl(238, 94%, 73%). Its closest CSS named color is MediumSlateBlue.

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

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