#786F9B Color

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

Color preview

#786F9B

Color formats

HEX
#786F9B
RGB
rgb(120, 111, 155)
RGBA
rgba(120, 111, 155, 1)
HSL
hsl(252, 18%, 52%)
HSV
hsv(252, 28%, 61%)
CMYK
cmyk(23%, 28%, 0%, 39%)
CSS variable
--color-primary: #786F9B;
Lowercase HEX
#786f9b

Shades

Tints

Tones

Harmony

CSS snippets for #786F9B

.color-786f9b {
  color: #786F9B;
  background-color: #786F9B;
}

Frequently asked questions

What color is #786F9B?+

#786F9B is a HEX color with RGB value rgb(120, 111, 155) and HSL value hsl(252, 18%, 52%). Its closest CSS named color is SlateGray.

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

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