#AF98EF Color

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

Color preview

#AF98EF

Color formats

HEX
#AF98EF
RGB
rgb(175, 152, 239)
RGBA
rgba(175, 152, 239, 1)
HSL
hsl(256, 73%, 77%)
HSV
hsv(256, 36%, 94%)
CMYK
cmyk(27%, 36%, 0%, 6%)
CSS variable
--color-primary: #AF98EF;
Lowercase HEX
#af98ef

Shades

Tints

Tones

Harmony

CSS snippets for #AF98EF

.color-af98ef {
  color: #AF98EF;
  background-color: #AF98EF;
}

Frequently asked questions

What color is #AF98EF?+

#AF98EF is a HEX color with RGB value rgb(175, 152, 239) and HSL value hsl(256, 73%, 77%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AF98EF?+

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