PreviewingGo to this paletteOpen in generator
Code
/* Blackberry Swirl — colorset.net */
:root {
--color-1: #CD2E8B;
--color-2: #B954CF;
--color-3: #8151DB;
--color-4: #FF898B;
--color-5: #43184C;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #411B49;
--color-muted: #756378;
--color-primary: #CD2E8B;
--color-on-primary: #FFFFFF;
--color-accent: #8151DB;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160A19;
--color-surface: #211423;
--color-border: #37273A;
--color-text: #CFA5A4;
--color-muted: #9B7B7A;
--color-primary: #CD2E8B;
--color-on-primary: #FFFFFF;
--color-accent: #8151DB;
--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 #FF898B | adjusted for contrast · from #43184C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #43184C | adjusted for contrast · from #FF898B |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.19:1 | AAA pass 4.5:1 | |
| Text on surface | 12.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 5.08:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 4.71:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.77:1 | AAA pass 4.5:1 | |
| Text on surface | 8.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 5.08:1 | AA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 3.79: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 | #CD2E8B (Text 1) | #B954CF (Text 2) | #8151DB (Text 3) | #FF898B (Text 4) | #43184C (Text 5) |
|---|---|---|---|---|---|
| #CD2E8B | Same color | 1.20— | 1.05— | 2.11— | 2.96— |
| #B954CF | 1.20— | Same color | 1.27— | 1.76— | 3.55AA Large |
| #8151DB | 1.05— | 1.27— | Same color | 2.23— | 2.80— |
| #FF898B | 2.11— | 1.76— | 2.23— | Same color | 6.24AA |
| #43184C | 2.96— | 3.55AA Large | 2.80— | 6.24AA | Same color |
Shades
Shades and tints (50–950)
