#AFA5C7 Color

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

Color preview

#AFA5C7

Color formats

HEX
#AFA5C7
RGB
rgb(175, 165, 199)
RGBA
rgba(175, 165, 199, 1)
HSL
hsl(258, 23%, 71%)
HSV
hsv(258, 17%, 78%)
CMYK
cmyk(12%, 17%, 0%, 22%)
CSS variable
--color-primary: #AFA5C7;
Lowercase HEX
#afa5c7

Shades

Tints

Tones

Harmony

CSS snippets for #AFA5C7

.color-afa5c7 {
  color: #AFA5C7;
  background-color: #AFA5C7;
}

Frequently asked questions

What color is #AFA5C7?+

#AFA5C7 is a HEX color with RGB value rgb(175, 165, 199) and HSL value hsl(258, 23%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA5C7?+

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