#AF98D2 Color

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

Color preview

#AF98D2

Color formats

HEX
#AF98D2
RGB
rgb(175, 152, 210)
RGBA
rgba(175, 152, 210, 1)
HSL
hsl(264, 39%, 71%)
HSV
hsv(264, 28%, 82%)
CMYK
cmyk(17%, 28%, 0%, 18%)
CSS variable
--color-primary: #AF98D2;
Lowercase HEX
#af98d2

Shades

Tints

Tones

Harmony

CSS snippets for #AF98D2

.color-af98d2 {
  color: #AF98D2;
  background-color: #AF98D2;
}

Frequently asked questions

What color is #AF98D2?+

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

What is the closest Tailwind color to #AF98D2?+

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