#9A7ECF Color

Inspect #9A7ECF across formats, palettes, contrast and closest named color matches.

Color preview

#9A7ECF

Color formats

HEX
#9A7ECF
RGB
rgb(154, 126, 207)
RGBA
rgba(154, 126, 207, 1)
HSL
hsl(261, 46%, 65%)
HSV
hsv(261, 39%, 81%)
CMYK
cmyk(26%, 39%, 0%, 19%)
CSS variable
--color-primary: #9A7ECF;
Lowercase HEX
#9a7ecf

Shades

Tints

Tones

Harmony

CSS snippets for #9A7ECF

.color-9a7ecf {
  color: #9A7ECF;
  background-color: #9A7ECF;
}

Frequently asked questions

What color is #9A7ECF?+

#9A7ECF is a HEX color with RGB value rgb(154, 126, 207) and HSL value hsl(261, 46%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9A7ECF?+

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