#AF98CD Color

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

Color preview

#AF98CD

Color formats

HEX
#AF98CD
RGB
rgb(175, 152, 205)
RGBA
rgba(175, 152, 205, 1)
HSL
hsl(266, 35%, 70%)
HSV
hsv(266, 26%, 80%)
CMYK
cmyk(15%, 26%, 0%, 20%)
CSS variable
--color-primary: #AF98CD;
Lowercase HEX
#af98cd

Shades

Tints

Tones

Harmony

CSS snippets for #AF98CD

.color-af98cd {
  color: #AF98CD;
  background-color: #AF98CD;
}

Frequently asked questions

What color is #AF98CD?+

#AF98CD is a HEX color with RGB value rgb(175, 152, 205) and HSL value hsl(266, 35%, 70%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF98CD?+

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