#787FCB Color

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

Color preview

#787FCB

Color formats

HEX
#787FCB
RGB
rgb(120, 127, 203)
RGBA
rgba(120, 127, 203, 1)
HSL
hsl(235, 44%, 63%)
HSV
hsv(235, 41%, 80%)
CMYK
cmyk(41%, 37%, 0%, 20%)
CSS variable
--color-primary: #787FCB;
Lowercase HEX
#787fcb

Shades

Tints

Tones

Harmony

CSS snippets for #787FCB

.color-787fcb {
  color: #787FCB;
  background-color: #787FCB;
}

Frequently asked questions

What color is #787FCB?+

#787FCB is a HEX color with RGB value rgb(120, 127, 203) and HSL value hsl(235, 44%, 63%). Its closest CSS named color is MediumPurple.

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

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