Nebula Drift
5-color mesh gradient
Nebula Drift is a 5-color CSS mesh gradient built from #0D0221, #241734, #2E2F7A, #8F3985, and #F5A9E1. Its hues sit in the purple, blue, and pink ranges, and reads as dark and cool. White text on it keeps at least 1.80: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 Nebula Drift?
Every color in this 5-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #0D0221 | Dark Navy | #0D0221 | 13, 2, 33 | 261°, 89%, 7% | 20.04:1 | 1.05:1 |
| #241734 | Deep Navy | #241734 | 36, 23, 52 | 267°, 39%, 15% | 16.84:1 | 1.25:1 |
| #2E2F7A | Dark Slate Blue | #2E2F7A | 46, 47, 122 | 239°, 45%, 33% | 11.64:1 | 1.80:1 |
| #8F3985 | Boysenberry | #8F3985 | 143, 57, 133 | 307°, 43%, 39% | 6.79:1 | 3.09:1 |
| #F5A9E1 | Plum | #F5A9E1 | 245, 169, 225 | 316°, 79%, 81% | 1.80:1 | 11.64:1 |
Related mesh gradients
Others sharing the same hues and tone