#8A5DFA Color

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

Color preview

#8A5DFA

Color formats

HEX
#8A5DFA
RGB
rgb(138, 93, 250)
RGBA
rgba(138, 93, 250, 1)
HSL
hsl(257, 94%, 67%)
HSV
hsv(257, 63%, 98%)
CMYK
cmyk(45%, 63%, 0%, 2%)
CSS variable
--color-primary: #8A5DFA;
Lowercase HEX
#8a5dfa

Shades

Tints

Tones

Harmony

CSS snippets for #8A5DFA

.color-8a5dfa {
  color: #8A5DFA;
  background-color: #8A5DFA;
}

Frequently asked questions

What color is #8A5DFA?+

#8A5DFA is a HEX color with RGB value rgb(138, 93, 250) and HSL value hsl(257, 94%, 67%). Its closest CSS named color is MediumSlateBlue.

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

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