#AF7DC9 Color

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

Color preview

#AF7DC9

Color formats

HEX
#AF7DC9
RGB
rgb(175, 125, 201)
RGBA
rgba(175, 125, 201, 1)
HSL
hsl(279, 41%, 64%)
HSV
hsv(279, 38%, 79%)
CMYK
cmyk(13%, 38%, 0%, 21%)
CSS variable
--color-primary: #AF7DC9;
Lowercase HEX
#af7dc9

Shades

Tints

Tones

Harmony

CSS snippets for #AF7DC9

.color-af7dc9 {
  color: #AF7DC9;
  background-color: #AF7DC9;
}

Frequently asked questions

What color is #AF7DC9?+

#AF7DC9 is a HEX color with RGB value rgb(175, 125, 201) and HSL value hsl(279, 41%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7DC9?+

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