#AF8DDC Color

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

Color preview

#AF8DDC

Color formats

HEX
#AF8DDC
RGB
rgb(175, 141, 220)
RGBA
rgba(175, 141, 220, 1)
HSL
hsl(266, 53%, 71%)
HSV
hsv(266, 36%, 86%)
CMYK
cmyk(20%, 36%, 0%, 14%)
CSS variable
--color-primary: #AF8DDC;
Lowercase HEX
#af8ddc

Shades

Tints

Tones

Harmony

CSS snippets for #AF8DDC

.color-af8ddc {
  color: #AF8DDC;
  background-color: #AF8DDC;
}

Frequently asked questions

What color is #AF8DDC?+

#AF8DDC is a HEX color with RGB value rgb(175, 141, 220) and HSL value hsl(266, 53%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8DDC?+

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