#AF98FB Color

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

Color preview

#AF98FB

Color formats

HEX
#AF98FB
RGB
rgb(175, 152, 251)
RGBA
rgba(175, 152, 251, 1)
HSL
hsl(254, 93%, 79%)
HSV
hsv(254, 39%, 98%)
CMYK
cmyk(30%, 39%, 0%, 2%)
CSS variable
--color-primary: #AF98FB;
Lowercase HEX
#af98fb

Shades

Tints

Tones

Harmony

CSS snippets for #AF98FB

.color-af98fb {
  color: #AF98FB;
  background-color: #AF98FB;
}

Frequently asked questions

What color is #AF98FB?+

#AF98FB is a HEX color with RGB value rgb(175, 152, 251) and HSL value hsl(254, 93%, 79%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AF98FB?+

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