#A28FDB Color

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

Color preview

#A28FDB

Color formats

HEX
#A28FDB
RGB
rgb(162, 143, 219)
RGBA
rgba(162, 143, 219, 1)
HSL
hsl(255, 51%, 71%)
HSV
hsv(255, 35%, 86%)
CMYK
cmyk(26%, 35%, 0%, 14%)
CSS variable
--color-primary: #A28FDB;
Lowercase HEX
#a28fdb

Shades

Tints

Tones

Harmony

CSS snippets for #A28FDB

.color-a28fdb {
  color: #A28FDB;
  background-color: #A28FDB;
}

Frequently asked questions

What color is #A28FDB?+

#A28FDB is a HEX color with RGB value rgb(162, 143, 219) and HSL value hsl(255, 51%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A28FDB?+

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