#AF8CAF Color

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

Color preview

#AF8CAF

Color formats

HEX
#AF8CAF
RGB
rgb(175, 140, 175)
RGBA
rgba(175, 140, 175, 1)
HSL
hsl(300, 18%, 62%)
HSV
hsv(300, 20%, 69%)
CMYK
cmyk(0%, 20%, 0%, 31%)
CSS variable
--color-primary: #AF8CAF;
Lowercase HEX
#af8caf

Shades

Tints

Tones

Harmony

CSS snippets for #AF8CAF

.color-af8caf {
  color: #AF8CAF;
  background-color: #AF8CAF;
}

Frequently asked questions

What color is #AF8CAF?+

#AF8CAF is a HEX color with RGB value rgb(175, 140, 175) and HSL value hsl(300, 18%, 62%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF8CAF?+

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