#AF98D1 Color

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

Color preview

#AF98D1

Color formats

HEX
#AF98D1
RGB
rgb(175, 152, 209)
RGBA
rgba(175, 152, 209, 1)
HSL
hsl(264, 38%, 71%)
HSV
hsv(264, 27%, 82%)
CMYK
cmyk(16%, 27%, 0%, 18%)
CSS variable
--color-primary: #AF98D1;
Lowercase HEX
#af98d1

Shades

Tints

Tones

Harmony

CSS snippets for #AF98D1

.color-af98d1 {
  color: #AF98D1;
  background-color: #AF98D1;
}

Frequently asked questions

What color is #AF98D1?+

#AF98D1 is a HEX color with RGB value rgb(175, 152, 209) and HSL value hsl(264, 38%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF98D1?+

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