Export

Code

/* Gray Soft — colorset.net */
:root {
  --color-1: #F9FAFB;
  --color-2: #F3F4F6;
  --color-3: #E5E7EB;
  --color-4: #D1D5DB;
  --color-5: #9CA3AF;

  --color-bg: #F9FAFB;
  --color-surface: #F0F1F2;
  --color-border: #D5D8DC;
  --color-text: #4B515C;
  --color-muted: #676E79;
  --color-primary: #848B96;
  --color-on-primary: #000000;
  --color-accent: #545A62;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E0F13;
    --color-surface: #171A1D;
    --color-border: #2A2E34;
    --color-text: #F9FAFB;
    --color-muted: #8C8D8E;
    --color-primary: #9CA3AF;
    --color-on-primary: #0E0F13;
    --color-accent: #E5E7EB;
    --color-on-accent: #0E0F13;
  }
}

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 1adjusted for contrast · from #9CA3AF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #9CA3AFfrom palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #9CA3AFfrom palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #9CA3AFfrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.64:1AAA pass 4.5:1
Text on surface7.06:1AAA pass 4.5:1
Muted text on background4.92:1AA pass 4.5:1
Label on primary6.11:1AA pass 4.5:1
Label on accent6.96:1AA pass 4.5:1
Primary on background3.29:1AA Large pass 3:1
Accent on background6.66:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.33:1AAA pass 4.5:1
Text on surface16.72:1AAA pass 4.5:1
Muted text on background5.76:1AA pass 4.5:1
Label on primary7.54:1AAA pass 4.5:1
Label on accent15.47:1AAA pass 4.5:1
Primary on background7.54:1AAA pass 3:1
Accent on background15.47: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#F9FAFB (Text 1)#F3F4F6 (Text 2)#E5E7EB (Text 3)#D1D5DB (Text 4)#9CA3AF (Text 5)
#F9FAFBSame color1.05—1.18—1.41—2.43—
#F3F4F61.05—Same color1.13—1.34—2.31—
#E5E7EB1.18—1.13—Same color1.19—2.05—
#D1D5DB1.41—1.34—1.19—Same color1.72—
#9CA3AF2.43—2.31—2.05—1.72—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F9FAFB#F3F4F6#E5E7EB#D1D5DB#9CA3AF

Variations

About Gray Soft

Five colors make up Gray Soft, a balanced neutral set: #F9FAFB, #F3F4F6, #E5E7EB, #D1D5DB, #9CA3AF. Every color is a neutral, from #F9FAFB down to #9CA3AF, so the palette works through light and shade alone. From #9CA3AF to #F9FAFB the colors share a similar light value (lightness 71%–98%), which suits fills and illustration more than body text. Average chroma is 0.008, very low for a palette, so the palette is close to grayscale; the most saturated color is #9CA3AF. In light mode #F9FAFB becomes the background with #4B515C text at 7.6:1, and #848B96 takes the primary role. With #9CA3AF leading, good fits include e-commerce product pages, documentation and reading apps.

Gray Soft color palette: #F9FAFB, #F3F4F6, #E5E7EB, #D1D5DB, #9CA3AF
Share image for Gray Soft

Gradients in similar colors