#AF8BFC Color

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

Color preview

#AF8BFC

Color formats

HEX
#AF8BFC
RGB
rgb(175, 139, 252)
RGBA
rgba(175, 139, 252, 1)
HSL
hsl(259, 95%, 77%)
HSV
hsv(259, 45%, 99%)
CMYK
cmyk(31%, 45%, 0%, 1%)
CSS variable
--color-primary: #AF8BFC;
Lowercase HEX
#af8bfc

Shades

Tints

Tones

Harmony

CSS snippets for #AF8BFC

.color-af8bfc {
  color: #AF8BFC;
  background-color: #AF8BFC;
}

Frequently asked questions

What color is #AF8BFC?+

#AF8BFC is a HEX color with RGB value rgb(175, 139, 252) and HSL value hsl(259, 95%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8BFC?+

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