#AF5FAC Color

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

Color preview

#AF5FAC

Color formats

HEX
#AF5FAC
RGB
rgb(175, 95, 172)
RGBA
rgba(175, 95, 172, 1)
HSL
hsl(302, 33%, 53%)
HSV
hsv(302, 46%, 69%)
CMYK
cmyk(0%, 46%, 2%, 31%)
CSS variable
--color-primary: #AF5FAC;
Lowercase HEX
#af5fac

Shades

Tints

Tones

Harmony

CSS snippets for #AF5FAC

.color-af5fac {
  color: #AF5FAC;
  background-color: #AF5FAC;
}

Frequently asked questions

What color is #AF5FAC?+

#AF5FAC is a HEX color with RGB value rgb(175, 95, 172) and HSL value hsl(302, 33%, 53%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5FAC?+

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