#A287FB Color

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

Color preview

#A287FB

Color formats

HEX
#A287FB
RGB
rgb(162, 135, 251)
RGBA
rgba(162, 135, 251, 1)
HSL
hsl(254, 94%, 76%)
HSV
hsv(254, 46%, 98%)
CMYK
cmyk(35%, 46%, 0%, 2%)
CSS variable
--color-primary: #A287FB;
Lowercase HEX
#a287fb

Shades

Tints

Tones

Harmony

CSS snippets for #A287FB

.color-a287fb {
  color: #A287FB;
  background-color: #A287FB;
}

Frequently asked questions

What color is #A287FB?+

#A287FB is a HEX color with RGB value rgb(162, 135, 251) and HSL value hsl(254, 94%, 76%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A287FB?+

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