#662DF8 Color

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

Color preview

#662DF8

Color formats

HEX
#662DF8
RGB
rgb(102, 45, 248)
RGBA
rgba(102, 45, 248, 1)
HSL
hsl(257, 94%, 57%)
HSV
hsv(257, 82%, 97%)
CMYK
cmyk(59%, 82%, 0%, 3%)
CSS variable
--color-primary: #662DF8;
Lowercase HEX
#662df8

Shades

Tints

Tones

Harmony

CSS snippets for #662DF8

.color-662df8 {
  color: #662DF8;
  background-color: #662DF8;
}

Frequently asked questions

What color is #662DF8?+

#662DF8 is a HEX color with RGB value rgb(102, 45, 248) and HSL value hsl(257, 94%, 57%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #662DF8?+

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