#AF28DC Color

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

Color preview

#AF28DC

Color formats

HEX
#AF28DC
RGB
rgb(175, 40, 220)
RGBA
rgba(175, 40, 220, 1)
HSL
hsl(285, 72%, 51%)
HSV
hsv(285, 82%, 86%)
CMYK
cmyk(20%, 82%, 0%, 14%)
CSS variable
--color-primary: #AF28DC;
Lowercase HEX
#af28dc

Shades

Tints

Tones

Harmony

CSS snippets for #AF28DC

.color-af28dc {
  color: #AF28DC;
  background-color: #AF28DC;
}

Frequently asked questions

What color is #AF28DC?+

#AF28DC is a HEX color with RGB value rgb(175, 40, 220) and HSL value hsl(285, 72%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #AF28DC?+

The closest Tailwind color is fuchsia-600, available as the bg-fuchsia-600 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