#AF8BDF Color

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

Color preview

#AF8BDF

Color formats

HEX
#AF8BDF
RGB
rgb(175, 139, 223)
RGBA
rgba(175, 139, 223, 1)
HSL
hsl(266, 57%, 71%)
HSV
hsv(266, 38%, 87%)
CMYK
cmyk(22%, 38%, 0%, 13%)
CSS variable
--color-primary: #AF8BDF;
Lowercase HEX
#af8bdf

Shades

Tints

Tones

Harmony

CSS snippets for #AF8BDF

.color-af8bdf {
  color: #AF8BDF;
  background-color: #AF8BDF;
}

Frequently asked questions

What color is #AF8BDF?+

#AF8BDF is a HEX color with RGB value rgb(175, 139, 223) and HSL value hsl(266, 57%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8BDF?+

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