Export

Code

/* Lilac Sachet — colorset.net */
:root {
  --color-1: #C8A2C8;
  --color-2: #D4B2D8;
  --color-3: #DCC3E3;
  --color-4: #E8D7F1;
  --color-5: #F0E6FA;

  --color-bg: #F0E6FA;
  --color-surface: #F5EFFB;
  --color-border: #D8CDE4;
  --color-text: #603F60;
  --color-muted: #786377;
  --color-primary: #9C789C;
  --color-on-primary: #000000;
  --color-accent: #664A66;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160B16;
    --color-surface: #201520;
    --color-border: #362837;
    --color-text: #F0E6FA;
    --color-muted: #8A8193;
    --color-primary: #C8A2C8;
    --color-on-primary: #160B16;
    --color-accent: #DCC3E3;
    --color-on-accent: #160B16;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.32:1AAA pass 4.5:1
Text on surface7.83:1AAA pass 4.5:1
Muted text on background4.52:1AA pass 4.5:1
Label on primary5.58:1AA pass 4.5:1
Label on accent7.67:1AAA pass 4.5:1
Primary on background3.12:1AA Large pass 3:1
Accent on background6.36:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.92:1AAA pass 4.5:1
Text on surface14.63:1AAA pass 4.5:1
Muted text on background5.16:1AA pass 4.5:1
Label on primary8.65:1AAA pass 4.5:1
Label on accent11.85:1AAA pass 4.5:1
Primary on background8.65:1AAA pass 3:1
Accent on background11.85: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#C8A2C8 (Text 1)#D4B2D8 (Text 2)#DCC3E3 (Text 3)#E8D7F1 (Text 4)#F0E6FA (Text 5)
#C8A2C8Same color1.18—1.37—1.63—1.84—
#D4B2D81.18—Same color1.16—1.38—1.56—
#DCC3E31.37—1.16—Same color1.19—1.34—
#E8D7F11.63—1.38—1.19—Same color1.13—
#F0E6FA1.84—1.56—1.34—1.13—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#C8A2C8#D4B2D8#DCC3E3#E8D7F1#F0E6FA

Variations

About Lilac Sachet

Lilac Sachet is a balanced pink-and-purple palette of 5 colors that runs from cream #F0E6FA to light pink #C8A2C8. With a hue spread of just 12°, it is effectively monochromatic: #C8A2C8, #D4B2D8 and #DCC3E3 differ mostly in lightness. All five colors stay in a narrow light band (76% to 94% lightness, #C8A2C8 to #F0E6FA), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.050, peaking at 0.068 in #C8A2C8); the colors feel soft and muted. In light mode #F0E6FA becomes the background with #603F60 text at 7.3:1, and #9C789C takes the primary role. Its pastel and muted character, led by #C8A2C8, suits e-commerce product pages, documentation and focused single-product sites.

These colors are almost the same as Mauve Soft.

Lilac Sachet color palette: #C8A2C8, #D4B2D8, #DCC3E3, #E8D7F1, #F0E6FA
Share image for Lilac Sachet

Gradients in similar colors