#786C9B Color

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

Color preview

#786C9B

Color formats

HEX
#786C9B
RGB
rgb(120, 108, 155)
RGBA
rgba(120, 108, 155, 1)
HSL
hsl(255, 19%, 52%)
HSV
hsv(255, 30%, 61%)
CMYK
cmyk(23%, 30%, 0%, 39%)
CSS variable
--color-primary: #786C9B;
Lowercase HEX
#786c9b

Shades

Tints

Tones

Harmony

CSS snippets for #786C9B

.color-786c9b {
  color: #786C9B;
  background-color: #786C9B;
}

Frequently asked questions

What color is #786C9B?+

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

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

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