Blue Violet Classic

#8A2BE2

Nearest Tailwind V4 Match
purple-600
96.7% Match
Implementation
bg-purple-600
text-purple-600

Color Code Conversions

HEX Code
#8A2BE2
RGB Value
rgb(138, 43, 226)
HSL Value
hsl(271, 76%, 53%)
OKLCH CSS (v4)
oklch(0.534 0.250 301.4)

Full Calculated Scale

50
#f9f0ff
100
#f5deff
200
#ebbcff
300
#da9aff
400
#be71ff
500
#a44dff
600
#8b31e2
700
#7820c6
800
#6411aa
900
#571093
950
#380064

Technical Background

Converting Blue Violet Classic (#8A2BE2) to Tailwind CSS requires more than just picking the nearest hex. Our algorithm uses CIEDE2000, a perceptual color difference formula that accounts for how human vision processes lightness, chroma, and hue.

The generated scale follows the Tailwind CSS v4 OKLCH standard, ensuring perfectly uniform weight across the entire spectrum. This prevents common issues like "hue shifting" where colors turn purple or grey as they get darker or lighter. You can customize this further in our Palette Generator.

Frequently Asked Questions

What is the closest Tailwind class for Blue Violet Classic?

The closest visually matching Tailwind CSS class for Blue Violet Classic (#8A2BE2) is purple-600. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 96.7%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-purple-600 for the best out-of-the-box match, or add #8A2BE2 directly to your Tailwind theme configuration for 100% brand accuracy.

Why use OKLCH for this scale?

Tailwind CSS v4 uses OKLCH because it is perceptually uniform. When we generate the 50-950 scale for Blue Violet Classic, OKLCH ensures that the color stays vibrant and doesn't shift towards different hues as it gets lighter or darker.

Need a custom palette?

Use our professional-grade generator to create a full theme from any custom hex code.

Open Palette Generator