#AF91DC Color

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

Color preview

#AF91DC

Color formats

HEX
#AF91DC
RGB
rgb(175, 145, 220)
RGBA
rgba(175, 145, 220, 1)
HSL
hsl(264, 52%, 72%)
HSV
hsv(264, 34%, 86%)
CMYK
cmyk(20%, 34%, 0%, 14%)
CSS variable
--color-primary: #AF91DC;
Lowercase HEX
#af91dc

Shades

Tints

Tones

Harmony

CSS snippets for #AF91DC

.color-af91dc {
  color: #AF91DC;
  background-color: #AF91DC;
}

Frequently asked questions

What color is #AF91DC?+

#AF91DC is a HEX color with RGB value rgb(175, 145, 220) and HSL value hsl(264, 52%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF91DC?+

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