#8A5DFB Color

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

Color preview

#8A5DFB

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #8A5DFB

.color-8a5dfb {
  color: #8A5DFB;
  background-color: #8A5DFB;
}

Frequently asked questions

What color is #8A5DFB?+

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

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

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