Export

Code

/* Pastel Grid — colorset.net */
:root {
  --color-1: #F5F0FF;
  --color-2: #B28DFF;
  --color-3: #5FC8EA;
  --color-4: #E2D4FF;
  --color-5: #2A2245;

  --color-bg: #F5F0FF;
  --color-surface: #FBF9FF;
  --color-border: #DDD7E9;
  --color-text: #2A2245;
  --color-muted: #6E6A84;
  --color-primary: #9D77E7;
  --color-on-primary: #000000;
  --color-accent: #2095B6;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #100D19;
    --color-surface: #1A1724;
    --color-border: #2E2B3C;
    --color-text: #F5F0FF;
    --color-muted: #8B8794;
    --color-primary: #B28DFF;
    --color-on-primary: #100D19;
    --color-accent: #5FC8EA;
    --color-on-accent: #100D19;
  }
}

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 #2A2245
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #B28DFFfrom palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #5FC8EAfrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.30:1AAA pass 4.5:1
Text on surface14.22:1AAA pass 4.5:1
Muted text on background4.63:1AA pass 4.5:1
Label on primary6.23:1AA pass 4.5:1
Label on accent6.04:1AA pass 4.5:1
Primary on background3.02:1AA Large pass 3:1
Accent on background3.11:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.18:1AAA pass 4.5:1
Text on surface15.76:1AAA pass 4.5:1
Muted text on background5.48:1AA pass 4.5:1
Label on primary7.45:1AAA pass 4.5:1
Label on accent10.00:1AAA pass 4.5:1
Primary on background7.45:1AAA pass 3:1
Accent on background10.00: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#F5F0FF (Text 1)#B28DFF (Text 2)#5FC8EA (Text 3)#E2D4FF (Text 4)#2A2245 (Text 5)
#F5F0FFSame color2.31—1.72—1.24—13.30AAA
#B28DFF2.31—Same color1.34—1.85—5.76AA
#5FC8EA1.72—1.34—Same color1.38—7.74AAA
#E2D4FF1.24—1.85—1.38—Same color10.68AAA
#2A224513.30AAA5.76AA7.74AAA10.68AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F5F0FF#B28DFF#5FC8EA#E2D4FF#2A2245

Variations

About Pastel Grid

Lavender grid lines and sky-blue tiles receding into a pastel void. Pastel Grid is a cool purple palette of 5 colors that runs from off-white #F5F0FF to deep purple #2A2245. The hues range across 78° of the wheel, pairing light blue #5FC8EA with pale purple for lively contrast. Lightness runs from 28% to 96% (OKLCH), with #5FC8EA in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.083, peaking at 0.164 in #B28DFF); the colors feel soft and muted. In light mode #F5F0FF becomes the background with #2A2245 text at 13.3:1, and #9D77E7 takes the primary role. With #B28DFF leading, good fits include music and nightlife, premium products and creative studios.

Pastel Grid color palette: #F5F0FF, #B28DFF, #5FC8EA, #E2D4FF, #2A2245
Share image for Pastel Grid

Gradients in similar colors