Skip to main content

Mystic Violet

4-color mesh gradient

Open in Studio Visualize

Mystic Violet is a 4-color CSS mesh gradient built from #5B21B6, #7C3AED, #A78BFA, and #DDD6FE. Its hues sit in the purple range, and reads as vibrant and cool. Dark text (#111827) on it keeps at least 1.97:1 at its weakest point — below every WCAG text threshold.

Light & dark theme

This palette as Material 3 color roles for a real interface, in light and dark mode. Every color comes with the text color that goes on it, and every pair's contrast is measured.

What are the HEX, RGB, and HSL values for Mystic Violet?

Every color in this 4-color set, with its contrast ratio against white and black.

Color values for Mystic Violet: hex, RGB, HSL, and WCAG contrast ratios against white and black.
ColorNameHEXRGBHSLOn whiteOn black
#5B21B6Grape#5B21B691, 33, 182263°, 69%, 42%8.98:12.34:1
#7C3AEDBlue Violet#7C3AED124, 58, 237262°, 83%, 58%5.70:13.69:1
#A78BFAMedium Purple#A78BFA167, 139, 250255°, 92%, 76%2.72:17.72:1
#DDD6FEPale Lavender#DDD6FE221, 214, 254251°, 95%, 92%1.39:115.12:1