#8E28E1 Color

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

Color preview

#8E28E1

Color formats

HEX
#8E28E1
RGB
rgb(142, 40, 225)
RGBA
rgba(142, 40, 225, 1)
HSL
hsl(273, 76%, 52%)
HSV
hsv(273, 82%, 88%)
CMYK
cmyk(37%, 82%, 0%, 12%)
CSS variable
--color-primary: #8E28E1;
Lowercase HEX
#8e28e1

Shades

Tints

Tones

Harmony

CSS snippets for #8E28E1

.color-8e28e1 {
  color: #8E28E1;
  background-color: #8E28E1;
}

Frequently asked questions

What color is #8E28E1?+

#8E28E1 is a HEX color with RGB value rgb(142, 40, 225) and HSL value hsl(273, 76%, 52%). Its closest CSS named color is BlueViolet.

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

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