#8A6CB1 Color

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

Color preview

#8A6CB1

Color formats

HEX
#8A6CB1
RGB
rgb(138, 108, 177)
RGBA
rgba(138, 108, 177, 1)
HSL
hsl(266, 31%, 56%)
HSV
hsv(266, 39%, 69%)
CMYK
cmyk(22%, 39%, 0%, 31%)
CSS variable
--color-primary: #8A6CB1;
Lowercase HEX
#8a6cb1

Shades

Tints

Tones

Harmony

CSS snippets for #8A6CB1

.color-8a6cb1 {
  color: #8A6CB1;
  background-color: #8A6CB1;
}

Frequently asked questions

What color is #8A6CB1?+

#8A6CB1 is a HEX color with RGB value rgb(138, 108, 177) and HSL value hsl(266, 31%, 56%). Its closest CSS named color is LightSlateGray.

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

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