#0A0A1A
#6B2D8B
#C678DD
#FFD8A8
Background
Primary Accent
Secondary
Body Text

Space Nebula Color Palette

#0A0A1A · #6B2D8B · #C678DD · #FFD8A8

AAA
WCAG Grade
14.6:1
Contrast Ratio
3,102
Saves
8,423
AI Copies
AI Prompt

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%
Primary Accent
Luminance: 6.9%
107, 45, 139 23%, 68%, 0%, 45% 280°, 51%, 36%
Secondary
Luminance: 30.7%
198, 120, 221 10%, 46%, 0%, 13% 286°, 60%, 67%
Body Text
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.

#0A0A1A gently saturated blue
#6B2D8B gently saturated violet
#C678DD gently saturated violet
#FFD8A8 saturated orange

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.60:1 AAA Body text, headings, UI
#0A0A1A on #FFD8A8
Aa Sample Text
14.60:1 AAA Body text, headings, UI
#C678DD on #0A0A1A
Aa Sample Text
6.66:1 AA Body text, UI
#0A0A1A on #C678DD
Aa Sample Text
6.66:1 AA Body text, UI
#FFD8A8 on #6B2D8B
Aa Sample Text
6.59:1 AA Body text, UI
#6B2D8B on #FFD8A8
Aa Sample Text
6.59: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.22:1 Fail Decorative use only
#0A0A1A on #6B2D8B
Aa Sample Text
2.22: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

Space Nebula Color Psychology & Meaning

Space Nebula is the color of stellar nurseries — deep cosmic purple, luminous violet gas clouds, and the warm gold of new star formation. The most beautiful process in the universe.

Color Harmony: Triadic Scheme

The Space Nebula palette is built using a triadic relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A triadic palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

Hubble Space Telescope imagery (1990-present) has created a cultural vocabulary of nebula colors. The false-color images use similar palette decisions for scientific and aesthetic reasons.

Best Design Use Cases

Very deep cosmic black for all surfaces. Rich purple for the nebula clouds. Violet for luminous gas. Warm gold for the star formation heat.

Industries This Palette Suits

Tech, beauty, luxury, space brands.

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.

yellow-green

directly opposite #6B2D8B on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

magenta

30° beside #6B2D8B — a calm secondary that extends the palette without adding tension

tinted neutral

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.2:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #FFD8A8 — 14.6: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #0A0A1A for the main background and #6B2D8B for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #FFD8A8 and #0A0A1A is 14.60:1 (AAA). Ensure your body text remains legible.

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 for its strongest pairings: #FFD8A8 on #0A0A1A reaches 14.6:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content