#786D9D Color

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

Color preview

#786D9D

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #786D9D

.color-786d9d {
  color: #786D9D;
  background-color: #786D9D;
}

Frequently asked questions

What color is #786D9D?+

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

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

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