#A87DFE Color

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

Color preview

#A87DFE

Color formats

HEX
#A87DFE
RGB
rgb(168, 125, 254)
RGBA
rgba(168, 125, 254, 1)
HSL
hsl(260, 98%, 74%)
HSV
hsv(260, 51%, 100%)
CMYK
cmyk(34%, 51%, 0%, 0%)
CSS variable
--color-primary: #A87DFE;
Lowercase HEX
#a87dfe

Shades

Tints

Tones

Harmony

CSS snippets for #A87DFE

.color-a87dfe {
  color: #A87DFE;
  background-color: #A87DFE;
}

Frequently asked questions

What color is #A87DFE?+

#A87DFE is a HEX color with RGB value rgb(168, 125, 254) and HSL value hsl(260, 98%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A87DFE?+

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