#786AA5 Color

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

Color preview

#786AA5

Color formats

HEX
#786AA5
RGB
rgb(120, 106, 165)
RGBA
rgba(120, 106, 165, 1)
HSL
hsl(254, 25%, 53%)
HSV
hsv(254, 36%, 65%)
CMYK
cmyk(27%, 36%, 0%, 35%)
CSS variable
--color-primary: #786AA5;
Lowercase HEX
#786aa5

Shades

Tints

Tones

Harmony

CSS snippets for #786AA5

.color-786aa5 {
  color: #786AA5;
  background-color: #786AA5;
}

Frequently asked questions

What color is #786AA5?+

#786AA5 is a HEX color with RGB value rgb(120, 106, 165) and HSL value hsl(254, 25%, 53%). Its closest CSS named color is SlateGray.

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

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