#8A5FDA Color

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

Color preview

#8A5FDA

Color formats

HEX
#8A5FDA
RGB
rgb(138, 95, 218)
RGBA
rgba(138, 95, 218, 1)
HSL
hsl(261, 62%, 61%)
HSV
hsv(261, 56%, 85%)
CMYK
cmyk(37%, 56%, 0%, 15%)
CSS variable
--color-primary: #8A5FDA;
Lowercase HEX
#8a5fda

Shades

Tints

Tones

Harmony

CSS snippets for #8A5FDA

.color-8a5fda {
  color: #8A5FDA;
  background-color: #8A5FDA;
}

Frequently asked questions

What color is #8A5FDA?+

#8A5FDA is a HEX color with RGB value rgb(138, 95, 218) and HSL value hsl(261, 62%, 61%). Its closest CSS named color is MediumPurple.

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

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