#A28DFD Color

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

Color preview

#A28DFD

Color formats

HEX
#A28DFD
RGB
rgb(162, 141, 253)
RGBA
rgba(162, 141, 253, 1)
HSL
hsl(251, 97%, 77%)
HSV
hsv(251, 44%, 99%)
CMYK
cmyk(36%, 44%, 0%, 1%)
CSS variable
--color-primary: #A28DFD;
Lowercase HEX
#a28dfd

Shades

Tints

Tones

Harmony

CSS snippets for #A28DFD

.color-a28dfd {
  color: #A28DFD;
  background-color: #A28DFD;
}

Frequently asked questions

What color is #A28DFD?+

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

What is the closest Tailwind color to #A28DFD?+

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