Moonlit Periwinkle

Export

Code

/* Moonlit Periwinkle — colorset.net */
:root {
  --color-1: #8C92AC;
  --color-2: #A1A7C4;
  --color-3: #B6BCDC;
  --color-4: #CBD1F4;
  --color-5: #E0E6FF;

  --color-bg: #F4F6FE;
  --color-surface: #EBEDF5;
  --color-border: #D2D4DF;
  --color-text: #484D64;
  --color-muted: #646982;
  --color-primary: #8086A0;
  --color-on-primary: #000000;
  --color-accent: #51556A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0F16;
    --color-surface: #171921;
    --color-border: #2B2D38;
    --color-text: #E0E6FF;
    --color-muted: #7D8298;
    --color-primary: #8C92AC;
    --color-on-primary: #0D0F16;
    --color-accent: #CBD1F4;
    --color-on-accent: #0D0F16;
  }
}

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 #E0E6FFadjusted for contrast · from #8C92AC
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8C92ACfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #8C92ACfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #8C92ACfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.72:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary5.84:1AA pass 4.5:1
Label on accent7.35:1AAA pass 4.5:1
Primary on background3.33:1AA Large pass 3:1
Accent on background6.81:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.43:1AAA pass 4.5:1
Text on surface14.14:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary6.22:1AA pass 4.5:1
Label on accent12.73:1AAA pass 4.5:1
Primary on background6.22:1AA pass 3:1
Accent on background12.73: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#8C92AC (Text 1)#A1A7C4 (Text 2)#B6BCDC (Text 3)#CBD1F4 (Text 4)#E0E6FF (Text 5)
#8C92ACSame color1.30—1.64—2.05—2.48—
#A1A7C41.30—Same color1.27—1.58—1.92—
#B6BCDC1.64—1.27—Same color1.25—1.51—
#CBD1F42.05—1.58—1.25—Same color1.21—
#E0E6FF2.48—1.92—1.51—1.21—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8C92AC#A1A7C4#B6BCDC#CBD1F4#E0E6FF

Variations

About Moonlit Periwinkle

About 88% of the color weight in Moonlit Periwinkle sits in blue, which makes it a cool palette anchored by light blue #B6BCDC. With a hue spread of just 3°, it is effectively monochromatic: #8C92AC, #A1A7C4 and #B6BCDC differ mostly in lightness. All five colors stay in a narrow light band (66% to 93% lightness, #8C92AC to #E0E6FF), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.042, peaking at 0.049 in #CBD1F4); the colors feel soft and muted. As a UI theme it uses #8086A0 for primary actions and #51556A as the accent; dark mode sits on #0D0F16 with #E0E6FF text (15.4:1). With #8C92AC leading, good fits include SaaS dashboards, fintech and banking apps and stationery.

Moonlit Periwinkle color palette: #8C92AC, #A1A7C4, #B6BCDC, #CBD1F4, #E0E6FF
Share image for Moonlit Periwinkle

Gradients in similar colors