Vite Purple

#646CFF

Nearest Tailwind V4 Match
indigo-500
96.1% Match
Implementation
bg-indigo-500
text-indigo-500

Color Code Conversions

HEX Code
#646CFF
RGB Value
rgb(100, 108, 255)
HSL Value
hsl(237, 100%, 70%)
OKLCH CSS (v4)
oklch(0.607 0.215 275.6)

Full Calculated Scale

50
#eff4ff
100
#dde8ff
200
#becfff
300
#a2b3ff
400
#8190ff
500
#6770ff
600
#5357e5
700
#4547c9
800
#3838ac
900
#303095
950
#1c1a66

Technical Background

Converting Vite Purple (#646CFF) 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.

Other colors matching indigo-500

Frequently Asked Questions

What is the closest Tailwind class for Vite Purple?

The closest visually matching Tailwind CSS class for Vite Purple (#646CFF) is indigo-500. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 96.1%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-indigo-500 for the best out-of-the-box match, or add #646CFF 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 Vite Purple, 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