#8A5DFC Color

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

Color preview

#8A5DFC

Color formats

HEX
#8A5DFC
RGB
rgb(138, 93, 252)
RGBA
rgba(138, 93, 252, 1)
HSL
hsl(257, 96%, 68%)
HSV
hsv(257, 63%, 99%)
CMYK
cmyk(45%, 63%, 0%, 1%)
CSS variable
--color-primary: #8A5DFC;
Lowercase HEX
#8a5dfc

Shades

Tints

Tones

Harmony

CSS snippets for #8A5DFC

.color-8a5dfc {
  color: #8A5DFC;
  background-color: #8A5DFC;
}

Frequently asked questions

What color is #8A5DFC?+

#8A5DFC is a HEX color with RGB value rgb(138, 93, 252) and HSL value hsl(257, 96%, 68%). Its closest CSS named color is MediumSlateBlue.

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

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