#786BB1 Color

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

Color preview

#786BB1

Color formats

HEX
#786BB1
RGB
rgb(120, 107, 177)
RGBA
rgba(120, 107, 177, 1)
HSL
hsl(251, 31%, 56%)
HSV
hsv(251, 40%, 69%)
CMYK
cmyk(32%, 40%, 0%, 31%)
CSS variable
--color-primary: #786BB1;
Lowercase HEX
#786bb1

Shades

Tints

Tones

Harmony

CSS snippets for #786BB1

.color-786bb1 {
  color: #786BB1;
  background-color: #786BB1;
}

Frequently asked questions

What color is #786BB1?+

#786BB1 is a HEX color with RGB value rgb(120, 107, 177) and HSL value hsl(251, 31%, 56%). Its closest CSS named color is SlateBlue.

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

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