#786CDF Color

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

Color preview

#786CDF

Color formats

HEX
#786CDF
RGB
rgb(120, 108, 223)
RGBA
rgba(120, 108, 223, 1)
HSL
hsl(246, 64%, 65%)
HSV
hsv(246, 52%, 87%)
CMYK
cmyk(46%, 52%, 0%, 13%)
CSS variable
--color-primary: #786CDF;
Lowercase HEX
#786cdf

Shades

Tints

Tones

Harmony

CSS snippets for #786CDF

.color-786cdf {
  color: #786CDF;
  background-color: #786CDF;
}

Frequently asked questions

What color is #786CDF?+

#786CDF is a HEX color with RGB value rgb(120, 108, 223) and HSL value hsl(246, 64%, 65%). Its closest CSS named color is MediumSlateBlue.

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

The closest Tailwind color is indigo-500, available as the bg-indigo-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