#A28FED Color

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

Color preview

#A28FED

Color formats

HEX
#A28FED
RGB
rgb(162, 143, 237)
RGBA
rgba(162, 143, 237, 1)
HSL
hsl(252, 72%, 75%)
HSV
hsv(252, 40%, 93%)
CMYK
cmyk(32%, 40%, 0%, 7%)
CSS variable
--color-primary: #A28FED;
Lowercase HEX
#a28fed

Shades

Tints

Tones

Harmony

CSS snippets for #A28FED

.color-a28fed {
  color: #A28FED;
  background-color: #A28FED;
}

Frequently asked questions

What color is #A28FED?+

#A28FED is a HEX color with RGB value rgb(162, 143, 237) and HSL value hsl(252, 72%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28FED?+

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