#AF8DE2 Color

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

Color preview

#AF8DE2

Color formats

HEX
#AF8DE2
RGB
rgb(175, 141, 226)
RGBA
rgba(175, 141, 226, 1)
HSL
hsl(264, 59%, 72%)
HSV
hsv(264, 38%, 89%)
CMYK
cmyk(23%, 38%, 0%, 11%)
CSS variable
--color-primary: #AF8DE2;
Lowercase HEX
#af8de2

Shades

Tints

Tones

Harmony

CSS snippets for #AF8DE2

.color-af8de2 {
  color: #AF8DE2;
  background-color: #AF8DE2;
}

Frequently asked questions

What color is #AF8DE2?+

#AF8DE2 is a HEX color with RGB value rgb(175, 141, 226) and HSL value hsl(264, 59%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8DE2?+

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