#8B5CF6 — Tints, Shades & Color Values

#8B5CF6

#8B5CF6 is a light, vivid violet. In Tailwind CSS this exact color is the utility class violet-500 (e.g. bg-violet-500, text-violet-500). Its nearest CSS named color is mediumslateblue (#7b68ee). For readable text on a #8B5CF6 background, black text gives the strongest contrast (4.96:1). #8B5CF6 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.

Want to fine-tune this color interactively? Open #8B5CF6 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#8B5CF6
RGBrgb(139, 92, 246)
HSLhsl(258, 90%, 66%)
HSV / HSB258°, 63%, 96%
Nearest namedmediumslateblue (#7b68ee)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#8B5CF6 in Tailwind CSS (violet-500)

#8B5CF6 ships with Tailwind CSS as violet-500 — use it as bg-violet-500, text-violet-500, or border-violet-500. It sits at step 500 of the violet ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #8B5CF6 (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #8B5CF6 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #8B5CF6 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 4.23:1 — AA normal: Fail · AA large: Pass · AAA: Fail
Black text 4.96:1 — AA normal: Pass · AA large: Pass · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a darker shade of #8B5CF6 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More violet colors in the library: #A855F7 (purple-500), #C084FC (purple-400), #9333EA (purple-600), #9B59B6, #D8B4FE (purple-300), #8E44AD.

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #8B5CF6? Put it on a free link-in-bio page →