#A504FB Color

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

Color preview

#A504FB

Color formats

HEX
#A504FB
RGB
rgb(165, 4, 251)
RGBA
rgba(165, 4, 251, 1)
HSL
hsl(279, 97%, 50%)
HSV
hsv(279, 98%, 98%)
CMYK
cmyk(34%, 98%, 0%, 2%)
CSS variable
--color-primary: #A504FB;
Lowercase HEX
#a504fb

Shades

Tints

Tones

Harmony

CSS snippets for #A504FB

.color-a504fb {
  color: #A504FB;
  background-color: #A504FB;
}

Frequently asked questions

What color is #A504FB?+

#A504FB is a HEX color with RGB value rgb(165, 4, 251) and HSL value hsl(279, 97%, 50%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #A504FB?+

The closest Tailwind color is purple-600, available as the bg-purple-600 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