#786C9D Color

Inspect #786C9D across formats, palettes, contrast and closest named color matches.

Color preview

#786C9D

Color formats

HEX
#786C9D
RGB
rgb(120, 108, 157)
RGBA
rgba(120, 108, 157, 1)
HSL
hsl(255, 20%, 52%)
HSV
hsv(255, 31%, 62%)
CMYK
cmyk(24%, 31%, 0%, 38%)
CSS variable
--color-primary: #786C9D;
Lowercase HEX
#786c9d

Shades

Tints

Tones

Harmony

CSS snippets for #786C9D

.color-786c9d {
  color: #786C9D;
  background-color: #786C9D;
}

Frequently asked questions

What color is #786C9D?+

#786C9D is a HEX color with RGB value rgb(120, 108, 157) and HSL value hsl(255, 20%, 52%). Its closest CSS named color is SlateGray.

What is the closest Tailwind color to #786C9D?+

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