Export

Code

/* Deep Space Violet — colorset.net */
:root {
  --color-1: #080512;
  --color-2: #160E27;
  --color-3: #2A1C49;
  --color-4: #8A5FC9;
  --color-5: #DCCDE8;

  --color-bg: #F9F5FD;
  --color-surface: #F0EBF4;
  --color-border: #D8D2DD;
  --color-text: #080512;
  --color-muted: #605C6F;
  --color-primary: #8A5FC9;
  --color-on-primary: #FFFFFF;
  --color-accent: #160E27;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080512;
    --color-surface: #110E1C;
    --color-border: #252034;
    --color-text: #DCCDE8;
    --color-muted: #84768F;
    --color-primary: #8A5FC9;
    --color-on-primary: #FFFFFF;
    --color-accent: #646073;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #DCCDE8from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #8A5FC9
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.74:1AAA pass 4.5:1
Text on surface17.19:1AAA pass 4.5:1
Muted text on background5.99:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent18.65:1AAA pass 4.5:1
Primary on background4.28:1AA Large pass 3:1
Accent on background17.32:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.39:1AAA pass 4.5:1
Text on surface12.63:1AAA pass 4.5:1
Muted text on background4.77:1AA pass 4.5:1
Label on primary4.60:1AA pass 4.5:1
Label on accent6.06:1AA pass 4.5:1
Primary on background4.38:1AA Large pass 3:1
Accent on background3.33:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#080512 (Text 1)#160E27 (Text 2)#2A1C49 (Text 3)#8A5FC9 (Text 4)#DCCDE8 (Text 5)
#080512Same color1.08—1.31—4.38AA Large13.39AAA
#160E271.08—Same color1.21—4.05AA Large12.38AAA
#2A1C491.31—1.21—Same color3.35AA Large10.24AAA
#8A5FC94.38AA Large4.05AA Large3.35AA LargeSame color3.06AA Large
#DCCDE813.39AAA12.38AAA10.24AAA3.06AA LargeSame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#080512#160E27#2A1C49#8A5FC9#DCCDE8

Variations

About Deep Space Violet

Near-black violet with one bright nebula. About 91% of the color weight in Deep Space Violet sits in purple, which makes it a cool palette anchored by deep purple #2A1C49. With a hue spread of just 15°, it is effectively monochromatic: #160E27, #2A1C49 and #8A5FC9 differ mostly in lightness. Lightness runs from 13% to 87% (OKLCH), with #2A1C49 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.072, peaking at 0.160 in #8A5FC9); the colors feel soft and muted. Text contrast reaches 18.7:1 in light mode and 13.4:1 in dark mode, with #8A5FC9 as primary and #160E27 as accent. Try it for beauty brands, creative studios and presentation slides, letting purple #8A5FC9 carry the key actions.

Deep Space Violet color palette: #080512, #160E27, #2A1C49, #8A5FC9, #DCCDE8
Share image for Deep Space Violet

Gradients in similar colors