#8E6CEB Color

Inspect #8E6CEB across formats, palettes, contrast and closest named color matches.

Color preview

#8E6CEB

Color formats

HEX
#8E6CEB
RGB
rgb(142, 108, 235)
RGBA
rgba(142, 108, 235, 1)
HSL
hsl(256, 76%, 67%)
HSV
hsv(256, 54%, 92%)
CMYK
cmyk(40%, 54%, 0%, 8%)
CSS variable
--color-primary: #8E6CEB;
Lowercase HEX
#8e6ceb

Shades

Tints

Tones

Harmony

CSS snippets for #8E6CEB

.color-8e6ceb {
  color: #8E6CEB;
  background-color: #8E6CEB;
}

Frequently asked questions

What color is #8E6CEB?+

#8E6CEB is a HEX color with RGB value rgb(142, 108, 235) and HSL value hsl(256, 76%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #8E6CEB?+

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