#9787FF Color

Inspect #9787FF across formats, palettes, contrast and closest named color matches.

Color preview

#9787FF

Color formats

HEX
#9787FF
RGB
rgb(151, 135, 255)
RGBA
rgba(151, 135, 255, 1)
HSL
hsl(248, 100%, 76%)
HSV
hsv(248, 47%, 100%)
CMYK
cmyk(41%, 47%, 0%, 0%)
CSS variable
--color-primary: #9787FF;
Lowercase HEX
#9787ff

Shades

Tints

Tones

Harmony

CSS snippets for #9787FF

.color-9787ff {
  color: #9787FF;
  background-color: #9787FF;
}

Frequently asked questions

What color is #9787FF?+

#9787FF is a HEX color with RGB value rgb(151, 135, 255) and HSL value hsl(248, 100%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9787FF?+

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