Royal Purple
3-color CSS gradient
Royal Purple is a 3-color CSS linear gradient built from #7C3AED, #8B5CF6, and #A78BFA. Its hues sit in the purple range, and reads as vibrant and cool. Dark text (#111827) on it keeps at least 3.11:1 at its weakest point — enough for WCAG AA large text only.
Stops
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 Royal Purple?
Every color in this 3-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #7C3AED | Blue Violet | #7C3AED | 124, 58, 237 | 262°, 83%, 58% | 5.70:1 | 3.69:1 |
| #8B5CF6 | Medium Slate Blue | #8B5CF6 | 139, 92, 246 | 258°, 90%, 66% | 4.23:1 | 4.96:1 |
| #A78BFA | Medium Purple | #A78BFA | 167, 139, 250 | 255°, 92%, 76% | 2.72:1 | 7.72:1 |
Related gradients
Others sharing the same hues and tone