#786D9C Color

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

Color preview

#786D9C

Color formats

HEX
#786D9C
RGB
rgb(120, 109, 156)
RGBA
rgba(120, 109, 156, 1)
HSL
hsl(254, 19%, 52%)
HSV
hsv(254, 30%, 61%)
CMYK
cmyk(23%, 30%, 0%, 39%)
CSS variable
--color-primary: #786D9C;
Lowercase HEX
#786d9c

Shades

Tints

Tones

Harmony

CSS snippets for #786D9C

.color-786d9c {
  color: #786D9C;
  background-color: #786D9C;
}

Frequently asked questions

What color is #786D9C?+

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

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

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