#A28BFD Color

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

Color preview

#A28BFD

Color formats

HEX
#A28BFD
RGB
rgb(162, 139, 253)
RGBA
rgba(162, 139, 253, 1)
HSL
hsl(252, 97%, 77%)
HSV
hsv(252, 45%, 99%)
CMYK
cmyk(36%, 45%, 0%, 1%)
CSS variable
--color-primary: #A28BFD;
Lowercase HEX
#a28bfd

Shades

Tints

Tones

Harmony

CSS snippets for #A28BFD

.color-a28bfd {
  color: #A28BFD;
  background-color: #A28BFD;
}

Frequently asked questions

What color is #A28BFD?+

#A28BFD is a HEX color with RGB value rgb(162, 139, 253) and HSL value hsl(252, 97%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28BFD?+

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