PreviewingGo to this paletteOpen in generator
Code
/* Bridal White — colorset.net */
:root {
--color-1: #FFFFFF;
--color-2: #F0F8FF;
--color-3: #E6E6FA;
--color-4: #DDA0DD;
--color-5: #C8A2C8;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #694769;
--color-muted: #7E6A7E;
--color-primary: #B378B3;
--color-on-primary: #000000;
--color-accent: #8C8C8C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B16;
--color-surface: #201520;
--color-border: #362837;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #DDA0DD;
--color-on-primary: #160B16;
--color-accent: #E6E6FA;
--color-on-accent: #160B16;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #C8A2C8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C8A2C8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8A2C8 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8A2C8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.25:1 | AA pass 4.5:1 | |
| Label on accent | 6.25:1 | AA pass 4.5:1 | |
| Primary on background | 3.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.20:1 | AAA pass 4.5:1 | |
| Text on surface | 17.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.94:1 | AA pass 4.5:1 | |
| Label on primary | 9.28:1 | AAA pass 4.5:1 | |
| Label on accent | 15.60:1 | AAA pass 4.5:1 | |
| Primary on background | 9.28:1 | AAA pass 3:1 | |
| Accent on background | 15.60:1 | AAA 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.
| Background / Text | #FFFFFF (Text 1) | #F0F8FF (Text 2) | #E6E6FA (Text 3) | #DDA0DD (Text 4) | #C8A2C8 (Text 5) |
|---|---|---|---|---|---|
| #FFFFFF | Same color | 1.07— | 1.23— | 2.07— | 2.22— |
| #F0F8FF | 1.07— | Same color | 1.15— | 1.93— | 2.07— |
| #E6E6FA | 1.23— | 1.15— | Same color | 1.68— | 1.80— |
| #DDA0DD | 2.07— | 1.93— | 1.68— | Same color | 1.07— |
| #C8A2C8 | 2.22— | 2.07— | 1.80— | 1.07— | Same color |
Shades
Shades and tints (50–950)
