#845DEF Color

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

Color preview

#845DEF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #845DEF

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

Frequently asked questions

What color is #845DEF?+

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

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

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