#AF8EF0 Color

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

Color preview

#AF8EF0

Color formats

HEX
#AF8EF0
RGB
rgb(175, 142, 240)
RGBA
rgba(175, 142, 240, 1)
HSL
hsl(260, 77%, 75%)
HSV
hsv(260, 41%, 94%)
CMYK
cmyk(27%, 41%, 0%, 6%)
CSS variable
--color-primary: #AF8EF0;
Lowercase HEX
#af8ef0

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EF0

.color-af8ef0 {
  color: #AF8EF0;
  background-color: #AF8EF0;
}

Frequently asked questions

What color is #AF8EF0?+

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

What is the closest Tailwind color to #AF8EF0?+

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