PreviewingGo to this paletteOpen in generator
Code
/* Boysenberry — colorset.net */
:root {
--color-1: #5E2B54;
--color-2: #66023C;
--color-3: #8E4585;
--color-4: #AD6BAD;
--color-5: #DDA0DD;
--color-bg: #FEF2FE;
--color-surface: #F5E9F5;
--color-border: #DECFDE;
--color-text: #581F3A;
--color-muted: #7D616C;
--color-primary: #A05FA0;
--color-on-primary: #FFFFFF;
--color-accent: #8E4585;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0811;
--color-surface: #26121B;
--color-border: #3E252F;
--color-text: #CAAECA;
--color-muted: #8F7A8F;
--color-primary: #A05FA0;
--color-on-primary: #FFFFFF;
--color-accent: #A44370;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #DDA0DD | adjusted for contrast · from #66023C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #66023C | adjusted for contrast · from #DDA0DD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AD6BAD | adjusted for contrast · from #AD6BAD |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #8E4585 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.57:1 | AAA pass 4.5:1 | |
| Text on surface | 10.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 5.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.56:1 | AAA pass 4.5:1 | |
| Text on surface | 8.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large 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 | #5E2B54 (Text 1) | #66023C (Text 2) | #8E4585 (Text 3) | #AD6BAD (Text 4) | #DDA0DD (Text 5) |
|---|---|---|---|---|---|
| #5E2B54 | Same color | 1.19— | 1.71— | 2.81— | 5.20AA |
| #66023C | 1.19— | Same color | 2.04— | 3.35AA Large | 6.19AA |
| #8E4585 | 1.71— | 2.04— | Same color | 1.64— | 3.04AA Large |
| #AD6BAD | 2.81— | 3.35AA Large | 1.64— | Same color | 1.85— |
| #DDA0DD | 5.20AA | 6.19AA | 3.04AA Large | 1.85— | Same color |
Shades
Shades and tints (50–950)
