#AF8DEB Color

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

Color preview

#AF8DEB

Color formats

HEX
#AF8DEB
RGB
rgb(175, 141, 235)
RGBA
rgba(175, 141, 235, 1)
HSL
hsl(262, 70%, 74%)
HSV
hsv(262, 40%, 92%)
CMYK
cmyk(26%, 40%, 0%, 8%)
CSS variable
--color-primary: #AF8DEB;
Lowercase HEX
#af8deb

Shades

Tints

Tones

Harmony

CSS snippets for #AF8DEB

.color-af8deb {
  color: #AF8DEB;
  background-color: #AF8DEB;
}

Frequently asked questions

What color is #AF8DEB?+

#AF8DEB is a HEX color with RGB value rgb(175, 141, 235) and HSL value hsl(262, 70%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8DEB?+

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