PreviewingGo to this paletteOpen in generator
Code
/* Purple Tropical — colorset.net */
:root {
--color-1: #581C87;
--color-2: #7C2D92;
--color-3: #EC4899;
--color-4: #F97316;
--color-5: #EAB308;
--color-bg: #FDF6E8;
--color-surface: #F3EDDF;
--color-border: #DCD4C3;
--color-text: #4E3469;
--color-muted: #71667F;
--color-primary: #D63187;
--color-on-primary: #FFFFFF;
--color-accent: #947000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130B1C;
--color-surface: #1D1526;
--color-border: #32293E;
--color-text: #CBBB98;
--color-muted: #8C8066;
--color-primary: #D63187;
--color-on-primary: #FFFFFF;
--color-accent: #EAB308;
--color-on-accent: #130B1C;
}
}
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 #EAB308 | adjusted for contrast · from #581C87 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #581C87 | adjusted for contrast · from #EAB308 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EC4899 | adjusted for contrast · from #EC4899 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F97316 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.67:1 | AAA pass 4.5:1 | |
| Text on surface | 8.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.16:1 | AAA pass 4.5:1 | |
| Text on surface | 9.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 10.02:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 10.02: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 | #581C87 (Text 1) | #7C2D92 (Text 2) | #EC4899 (Text 3) | #F97316 (Text 4) | #EAB308 (Text 5) |
|---|---|---|---|---|---|
| #581C87 | Same color | 1.37— | 3.08AA Large | 3.88AA Large | 5.67AA |
| #7C2D92 | 1.37— | Same color | 2.25— | 2.83— | 4.14AA Large |
| #EC4899 | 3.08AA Large | 2.25— | Same color | 1.26— | 1.84— |
| #F97316 | 3.88AA Large | 2.83— | 1.26— | Same color | 1.46— |
| #EAB308 | 5.67AA | 4.14AA Large | 1.84— | 1.46— | Same color |
Shades
Shades and tints (50–950)
