#786BB2 Color

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

Color preview

#786BB2

Color formats

HEX
#786BB2
RGB
rgb(120, 107, 178)
RGBA
rgba(120, 107, 178, 1)
HSL
hsl(251, 32%, 56%)
HSV
hsv(251, 40%, 70%)
CMYK
cmyk(33%, 40%, 0%, 30%)
CSS variable
--color-primary: #786BB2;
Lowercase HEX
#786bb2

Shades

Tints

Tones

Harmony

CSS snippets for #786BB2

.color-786bb2 {
  color: #786BB2;
  background-color: #786BB2;
}

Frequently asked questions

What color is #786BB2?+

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

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

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