Nebula is a vivid analogous color palette tagged space, dark, cold. Analogous neighbors on the wheel (Indigo, Amethyst, Cotton Candy) give it a natural, low-tension flow. Saturation runs high, so use the brightest color sparingly and let the others carry the surface area. Warm and cool hues are mixed, which adds depth.
Color codes click any value to copy
| Swatch | Name | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Obsidian | #0B0620 | rgb(11, 6, 32) | hsl(252, 68%, 7%) | oklch(15.0% 0.054 288) | |
| Indigo | #412676 | rgb(65, 38, 118) | hsl(260, 51%, 31%) | oklch(35.1% 0.130 294) | |
| Amethyst | #9D4EDD | rgb(157, 78, 221) | hsl(273, 68%, 59%) | oklch(58.8% 0.212 306) | |
| Cotton Candy | #FFB3E6 | rgb(255, 179, 230) | hsl(320, 100%, 85%) | oklch(85.4% 0.109 339) |
Why it works and how to use it
The palette holds together thanks to its analogous hue relationship and a strong light-to-dark ladder (85% down to 7% lightness). A natural fit for websites, presentations and branding.
- Background: Cotton Candy (#FFB3E6) is the lightest color, so it belongs on large surfaces.
- Text: Obsidian (#0B0620) on #FFB3E6 gives 12.1:1, passing WCAG AAA.
- Primary: Amethyst (#9D4EDD) is the most saturated mid-tone; use it for buttons and links with a border or a darker shade for contrast.
- Accent: Indigo (#412676) for highlights, badges and hover states.
2 of 6 color pairs pass WCAG AA (4.5:1); the strongest is Obsidian on Cotton Candy at 12.1:1.
Preview on a real UI see how the palette feels in context
Design faster with Nebula
A palette preview that turns four colors into a page, so you can judge hierarchy, contrast and mood before you commit.
Primary action SecondaryColor blindness simulation
Color-blind check: all four colors stay distinguishable under protanopia, deuteranopia and tritanopia.
Contrast check WCAG ratios between palette colors
| Pair | Sample | Ratio | Level |
|---|---|---|---|
#0B0620 on #FFB3E6 | Aa | 12.1:1 | AAA |
#412676 on #FFB3E6 | Aa | 7.28:1 | AAA |
#0B0620 on #9D4EDD | Aa | 4.3:1 | AA large only |
#9D4EDD on #FFB3E6 | Aa | 2.81:1 | Fail |
#412676 on #9D4EDD | Aa | 2.59:1 | Fail |
#0B0620 on #412676 | Aa | 1.66:1 | Fail |