#8C6AFB Color

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

Color preview

#8C6AFB

Color formats

HEX
#8C6AFB
RGB
rgb(140, 106, 251)
RGBA
rgba(140, 106, 251, 1)
HSL
hsl(254, 95%, 70%)
HSV
hsv(254, 58%, 98%)
CMYK
cmyk(44%, 58%, 0%, 2%)
CSS variable
--color-primary: #8C6AFB;
Lowercase HEX
#8c6afb

Shades

Tints

Tones

Harmony

CSS snippets for #8C6AFB

.color-8c6afb {
  color: #8C6AFB;
  background-color: #8C6AFB;
}

Frequently asked questions

What color is #8C6AFB?+

#8C6AFB is a HEX color with RGB value rgb(140, 106, 251) and HSL value hsl(254, 95%, 70%). Its closest CSS named color is MediumSlateBlue.

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

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