Space Nebula Color Palette
#0A0A1A · #6B2D8B · #C678DD · #FFD8A8
Use #0A0A1A as the background. Use #6B2D8B as the primary accent. Use #C678DD as secondary. Use #FFD8A8 as body text/supporting color. Palette mood: Space Nebula — night, cool, vibrant.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Space Nebula color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 0.4% | 10, 10, 26 | 62%, 62%, 0%, 90% | 240°, 44%, 7% | ||
| Decorative / accent Luminance: 6.9% | 107, 45, 139 | 23%, 68%, 0%, 45% | 280°, 51%, 36% | ||
| Text · AA Luminance: 30.7% | 198, 120, 221 | 10%, 46%, 0%, 13% | 286°, 60%, 67% | ||
| Text · AAA Luminance: 73.2% | 255, 216, 168 | 0%, 15%, 34%, 0% | 33°, 100%, 83% |
Space Nebula Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Space Nebula palette — click any swatch to copy its hex.
Space Nebula Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #FFD8A8 on #0A0A1A |
Aa Sample Text
| 14.59:1 | AAA | Body text, headings, UI |
| #0A0A1A on #FFD8A8 |
Aa Sample Text
| 14.59:1 | AAA | Body text, headings, UI |
| #C678DD on #0A0A1A |
Aa Sample Text
| 6.65:1 | AA | Body text, UI |
| #0A0A1A on #C678DD |
Aa Sample Text
| 6.65:1 | AA | Body text, UI |
| #FFD8A8 on #6B2D8B |
Aa Sample Text
| 6.58:1 | AA | Body text, UI |
| #6B2D8B on #FFD8A8 |
Aa Sample Text
| 6.58:1 | AA | Body text, UI |
| #C678DD on #6B2D8B |
Aa Sample Text
| 3.00:1 | Fail | Large headings, UI components |
| #6B2D8B on #C678DD |
Aa Sample Text
| 3.00:1 | Fail | Large headings, UI components |
| #6B2D8B on #0A0A1A |
Aa Sample Text
| 2.21:1 | Fail | Decorative use only |
| #0A0A1A on #6B2D8B |
Aa Sample Text
| 2.21:1 | Fail | Decorative use only |
| #FFD8A8 on #C678DD |
Aa Sample Text
| 2.19:1 | Fail | Decorative use only |
| #C678DD on #FFD8A8 |
Aa Sample Text
| 2.19:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Three hue groups at 33°, 240°, 283°, spaced 43°, 110° and 207° apart — that spacing does not match a triadic or split-complementary layout.
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #FFD8A8 on #0A0A1A at 14.59:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Space Nebula
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #6B2D8B on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #6B2D8B — a calm secondary that extends the palette without adding tension
a paper-white carrying the palette's own hue — perfect for surfaces and dividers
Using Space Nebula Without Breaking Accessibility
- Avoid #6B2D8B for small UI elements on #0A0A1A — at 2.21:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #FFD8A8 — 14.59:1 against #0A0A1A passes WCAG AA (AAA) for long-form reading.
- Don't use #C678DD behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the Space Nebula Color Scheme
To use this Space Nebula color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Space Nebula — ihatecolors */
--color-bg: #0A0A1A;
--color-accent: #6B2D8B;
--color-secondary: #C678DD;
--color-text: #FFD8A8;
} Web Design Tip
#6B2D8B on #0A0A1A measures 2.21:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.
Accessibility Note
Body copy in #FFD8A8 on #0A0A1A measures 14.59:1, which passes WCAG AAA for normal text.
Space Nebula Palette — Frequently Asked Questions
What are the hex codes in the Space Nebula color palette?
The Space Nebula palette contains #0A0A1A, #6B2D8B, #C678DD, #FFD8A8. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Space Nebula color palette accessible (WCAG)?
Yes. #FFD8A8 on #0A0A1A reaches 14.59:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Space Nebula palette?
Beyond its own four colors, #4C8B2D, #813675, #EBEBEF extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Space Nebula palette create?
Space Nebula reads as night, cool, vibrant. Gently saturated violet drives the personality, grounded by gently saturated blue — a combination that works best when the deep base gets most of the canvas.
Can I use the Space Nebula color palette commercially?
Yes. Individual color values can't be copyrighted, so the Space Nebula palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Space Nebula palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Space Nebula's exact values, including the tint and shade ramps shown above.