#AF8FFE Color

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

Color preview

#AF8FFE

Color formats

HEX
#AF8FFE
RGB
rgb(175, 143, 254)
RGBA
rgba(175, 143, 254, 1)
HSL
hsl(257, 98%, 78%)
HSV
hsv(257, 44%, 100%)
CMYK
cmyk(31%, 44%, 0%, 0%)
CSS variable
--color-primary: #AF8FFE;
Lowercase HEX
#af8ffe

Shades

Tints

Tones

Harmony

CSS snippets for #AF8FFE

.color-af8ffe {
  color: #AF8FFE;
  background-color: #AF8FFE;
}

Frequently asked questions

What color is #AF8FFE?+

#AF8FFE is a HEX color with RGB value rgb(175, 143, 254) and HSL value hsl(257, 98%, 78%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8FFE?+

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