Export

Code

/* Potion Shelf — colorset.net */
:root {
  --color-1: #1B1630;
  --color-2: #8A4FFF;
  --color-3: #35C7A5;
  --color-4: #F2C14E;
  --color-5: #EEE9FA;

  --color-bg: #EEE9FA;
  --color-surface: #F4F2FC;
  --color-border: #D6D0E4;
  --color-text: #1B1630;
  --color-muted: #6A6680;
  --color-primary: #8A4FFF;
  --color-on-primary: #FFFFFF;
  --color-accent: #946F00;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1B1630;
    --color-surface: #25213C;
    --color-border: #3A374E;
    --color-text: #EEE9FA;
    --color-muted: #8E8999;
    --color-primary: #8A4FFF;
    --color-on-primary: #FFFFFF;
    --color-accent: #F2C14E;
    --color-on-accent: #1B1630;
  }
}

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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #35C7A5from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.68:1AAA pass 4.5:1
Text on surface15.74:1AAA pass 4.5:1
Muted text on background4.62:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent4.63:1AA pass 4.5:1
Primary on background3.81:1AA Large pass 3:1
Accent on background3.90:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.68:1AAA pass 4.5:1
Text on surface12.98:1AAA pass 4.5:1
Muted text on background5.14:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent10.39:1AAA pass 4.5:1
Primary on background3.86:1AA Large pass 3:1
Accent on background10.39:1AAA 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#1B1630 (Text 1)#8A4FFF (Text 2)#35C7A5 (Text 3)#F2C14E (Text 4)#EEE9FA (Text 5)
#1B1630Same color3.86AA Large8.19AAA10.39AAA14.68AAA
#8A4FFF3.86AA LargeSame color2.12—2.70—3.81AA Large
#35C7A58.19AAA2.12—Same color1.27—1.79—
#F2C14E10.39AAA2.70—1.27—Same color1.41—
#EEE9FA14.68AAA3.81AA Large1.79—1.41—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1B1630#8A4FFF#35C7A5#F2C14E#EEE9FA

Variations

About Potion Shelf

Bubbling flasks in violet, teal and amber. Five colors make up Potion Shelf, a cool multi-color set: #1B1630, #8A4FFF, #35C7A5, #F2C14E, #EEE9FA. Deep purple #1B1630 and light yellow #F2C14E sit on nearly opposite sides of the wheel (155° apart), a complementary pairing that makes accents pop. A 72-point lightness range (22% for #1B1630 to 94% for #EEE9FA) gives strong value contrast, useful for text on background. Average chroma is 0.118, medium for a palette, so the colors are clear without being loud; the most saturated color is #8A4FFF. Text contrast reaches 14.7:1 in light mode and 14.7:1 in dark mode, with #8A4FFF as primary and #946F00 as accent. Its colorful and high-contrast character, led by #8A4FFF, suits marketing pages, infographics and educational content.

Potion Shelf color palette: #1B1630, #8A4FFF, #35C7A5, #F2C14E, #EEE9FA
Share image for Potion Shelf

Gradients in similar colors