#AF8FFC Color

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

Color preview

#AF8FFC

Color formats

HEX
#AF8FFC
RGB
rgb(175, 143, 252)
RGBA
rgba(175, 143, 252, 1)
HSL
hsl(258, 95%, 77%)
HSV
hsv(258, 43%, 99%)
CMYK
cmyk(31%, 43%, 0%, 1%)
CSS variable
--color-primary: #AF8FFC;
Lowercase HEX
#af8ffc

Shades

Tints

Tones

Harmony

CSS snippets for #AF8FFC

.color-af8ffc {
  color: #AF8FFC;
  background-color: #AF8FFC;
}

Frequently asked questions

What color is #AF8FFC?+

#AF8FFC is a HEX color with RGB value rgb(175, 143, 252) and HSL value hsl(258, 95%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8FFC?+

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