#8170EB Color

Inspect #8170EB across formats, palettes, contrast and closest named color matches.

Color preview

#8170EB

Color formats

HEX
#8170EB
RGB
rgb(129, 112, 235)
RGBA
rgba(129, 112, 235, 1)
HSL
hsl(248, 75%, 68%)
HSV
hsv(248, 52%, 92%)
CMYK
cmyk(45%, 52%, 0%, 8%)
CSS variable
--color-primary: #8170EB;
Lowercase HEX
#8170eb

Shades

Tints

Tones

Harmony

CSS snippets for #8170EB

.color-8170eb {
  color: #8170EB;
  background-color: #8170EB;
}

Frequently asked questions

What color is #8170EB?+

#8170EB is a HEX color with RGB value rgb(129, 112, 235) and HSL value hsl(248, 75%, 68%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #8170EB?+

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