#786C98 Color

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

Color preview

#786C98

Color formats

HEX
#786C98
RGB
rgb(120, 108, 152)
RGBA
rgba(120, 108, 152, 1)
HSL
hsl(256, 18%, 51%)
HSV
hsv(256, 29%, 60%)
CMYK
cmyk(21%, 29%, 0%, 40%)
CSS variable
--color-primary: #786C98;
Lowercase HEX
#786c98

Shades

Tints

Tones

Harmony

CSS snippets for #786C98

.color-786c98 {
  color: #786C98;
  background-color: #786C98;
}

Frequently asked questions

What color is #786C98?+

#786C98 is a HEX color with RGB value rgb(120, 108, 152) and HSL value hsl(256, 18%, 51%). Its closest CSS named color is SlateGray.

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

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