#8166DB Color

Inspect #8166DB across formats, palettes, contrast and closest named color matches.

Color preview

#8166DB

Color formats

HEX
#8166DB
RGB
rgb(129, 102, 219)
RGBA
rgba(129, 102, 219, 1)
HSL
hsl(254, 62%, 63%)
HSV
hsv(254, 53%, 86%)
CMYK
cmyk(41%, 53%, 0%, 14%)
CSS variable
--color-primary: #8166DB;
Lowercase HEX
#8166db

Shades

Tints

Tones

Harmony

CSS snippets for #8166DB

.color-8166db {
  color: #8166DB;
  background-color: #8166DB;
}

Frequently asked questions

What color is #8166DB?+

#8166DB is a HEX color with RGB value rgb(129, 102, 219) and HSL value hsl(254, 62%, 63%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #8166DB?+

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