#8B5CF6 — Tints, Shades & Color Values
#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.
Color Values
| Hex | #8B5CF6 |
|---|---|
| RGB | rgb(139, 92, 246) |
| HSL | hsl(258, 90%, 66%) |
| HSV / HSB | 258°, 63%, 96% |
| Nearest named | mediumslateblue (#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.
-
10% tint
#976cf7 -
20% tint
#a27df8 -
30% tint
#ae8df9 -
40% tint
#b99dfa -
50% tint
#c5aefb -
60% tint
#d1befb -
70% tint
#dccefc -
80% tint
#e8defd -
90% tint
#f3effe
Shades of #8B5CF6 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#7d53dd -
20% shade
#6f4ac5 -
30% shade
#6140ac -
40% shade
#533794 -
50% shade
#462e7b -
60% shade
#382562 -
70% shade
#2a1c4a -
80% shade
#1c1231 -
90% shade
#0e0919
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
-
What color is #8B5CF6?
#8B5CF6 is a light, vivid violet —
rgb(139, 92, 246). Its nearest CSS named color ismediumslateblue. In Tailwind CSS it isviolet-500. -
How do I make tints and shades of #8B5CF6?
Mix #8B5CF6 with white for tints and with black for shades. A 20% tint of #8B5CF6 is
#a27df8and a 20% shade is#6f4ac5— the full 10%–90% ramps are precomputed on this page, or open #8B5CF6 in the generator for finer steps. -
What text color is readable on #8B5CF6?
Black text gives the strongest contrast on a #8B5CF6 background at 4.96:1, which passes WCAG AA for normal text but not AAA.
-
What is the Tailwind CSS class for #8B5CF6?
violet-500— use it asbg-violet-500,text-violet-500, orborder-violet-500. The full violet 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#8B5CF6? Put it on a free link-in-bio page →