#785DEF Color

Inspect #785DEF across formats, palettes, contrast and closest named color matches.

Color preview

#785DEF

Color formats

HEX
#785DEF
RGB
rgb(120, 93, 239)
RGBA
rgba(120, 93, 239, 1)
HSL
hsl(251, 82%, 65%)
HSV
hsv(251, 61%, 94%)
CMYK
cmyk(50%, 61%, 0%, 6%)
CSS variable
--color-primary: #785DEF;
Lowercase HEX
#785def

Shades

Tints

Tones

Harmony

CSS snippets for #785DEF

.color-785def {
  color: #785DEF;
  background-color: #785DEF;
}

Frequently asked questions

What color is #785DEF?+

#785DEF is a HEX color with RGB value rgb(120, 93, 239) and HSL value hsl(251, 82%, 65%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #785DEF?+

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