#AF8EF2 Color

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

Color preview

#AF8EF2

Color formats

HEX
#AF8EF2
RGB
rgb(175, 142, 242)
RGBA
rgba(175, 142, 242, 1)
HSL
hsl(260, 79%, 75%)
HSV
hsv(260, 41%, 95%)
CMYK
cmyk(28%, 41%, 0%, 5%)
CSS variable
--color-primary: #AF8EF2;
Lowercase HEX
#af8ef2

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EF2

.color-af8ef2 {
  color: #AF8EF2;
  background-color: #AF8EF2;
}

Frequently asked questions

What color is #AF8EF2?+

#AF8EF2 is a HEX color with RGB value rgb(175, 142, 242) and HSL value hsl(260, 79%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8EF2?+

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