#AF97C2 Color

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

Color preview

#AF97C2

Color formats

HEX
#AF97C2
RGB
rgb(175, 151, 194)
RGBA
rgba(175, 151, 194, 1)
HSL
hsl(273, 26%, 68%)
HSV
hsv(273, 22%, 76%)
CMYK
cmyk(10%, 22%, 0%, 24%)
CSS variable
--color-primary: #AF97C2;
Lowercase HEX
#af97c2

Shades

Tints

Tones

Harmony

CSS snippets for #AF97C2

.color-af97c2 {
  color: #AF97C2;
  background-color: #AF97C2;
}

Frequently asked questions

What color is #AF97C2?+

#AF97C2 is a HEX color with RGB value rgb(175, 151, 194) and HSL value hsl(273, 26%, 68%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF97C2?+

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