Generated palette

Mardi Gras Palette

Mardi Gras Palette is a generated palette built from #880085, #008A02, #47008A, #8A0043. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Mardi Gras Palette combines primary #880085, secondary #008A02, surface #47008A, background #8A0043, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.

5colors
Pink palettedominant group
5use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#880085Mardi Gras
Secondary#008A02#008A02
Surface#47008A#47008A
Background#8A0043#8A0043
Accent#FFFFFFWhite

CSS Variables

--palette-mardi-gras-primary: #880085;
--palette-mardi-gras-secondary: #008A02;
--palette-mardi-gras-surface: #47008A;
--palette-mardi-gras-background: #8A0043;
--palette-mardi-gras-accent: #FFFFFF;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#880085
Black 2.39:1 · White 8.8:1
Best #FFFFFF
Secondary#008A02
Black 4.64:1 · White 4.53:1
Best #000000
Surface#47008A
Black 1.63:1 · White 12.85:1
Best #FFFFFF
Background#8A0043
Black 2.16:1 · White 9.71:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Mardi Gras Palette Data (JSON)

Structured palette data for Mardi Gras Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0693
Black text2.39:1AA Fail
White text8.8:1AA Pass
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#880085",
    "name": "Mardi Gras"
  },
  {
    "role": "secondary",
    "hex": "#008A02",
    "name": "#008A02"
  },
  {
    "role": "surface",
    "hex": "#47008A",
    "name": "#47008A"
  },
  {
    "role": "background",
    "hex": "#8A0043",
    "name": "#8A0043"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#880085",
    "name": "Mardi Gras",
    "blackContrast": 2.39,
    "whiteContrast": 8.8,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#008A02",
    "name": "#008A02",
    "blackContrast": 4.64,
    "whiteContrast": 4.53,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#FFFFFF"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#47008A",
    "name": "#47008A",
    "blackContrast": 1.63,
    "whiteContrast": 12.85,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#8A0043",
    "name": "#8A0043",
    "blackContrast": 2.16,
    "whiteContrast": 9.71,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "mardi gras palette",
  "generated palette",
  "pink palette",
  "green palette",
  "purple palette",
  "gray palette",
  "balanced palette",
  "jewel tone palette",
  "light palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes"
]
CSS variables
"--palette-mardi-gras-primary: #880085;\n--palette-mardi-gras-secondary: #008A02;\n--palette-mardi-gras-surface: #47008A;\n--palette-mardi-gras-background: #8A0043;\n--palette-mardi-gras-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "mardi-gras",
  "name": "Mardi Gras Palette",
  "type": "generated",
  "sourceColor": "mardi-gras",
  "description": "Generated palette built from Mardi Gras, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Mardi Gras Palette combines primary #880085, secondary #008A02, surface #47008A, background #8A0043, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "mardi gras palette",
    "generated palette",
    "pink palette",
    "green palette",
    "purple palette",
    "gray palette",
    "balanced palette",
    "jewel tone palette",
    "light palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#880085",
      "slug": "mardi-gras",
      "name": "Mardi Gras",
      "rgb": [
        136,
        0,
        133
      ],
      "hsl": [
        301,
        100,
        27
      ],
      "cmyk": [
        0,
        100,
        2,
        47
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.0693,
      "contrast": {
        "black": 2.39,
        "white": 8.8
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/mardi-gras/"
    },
    {
      "role": "secondary",
      "hex": "#008A02",
      "slug": null,
      "name": "#008A02",
      "rgb": [
        0,
        138,
        2
      ],
      "hsl": [
        121,
        100,
        27
      ],
      "cmyk": [
        100,
        0,
        99,
        46
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.1818,
      "contrast": {
        "black": 4.64,
        "white": 4.53
      },
      "wcag": {
        "AA": [
          "#000000",
          "#FFFFFF"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/008a02/"
    },
    {
      "role": "surface",
      "hex": "#47008A",
      "slug": null,
      "name": "#47008A",
      "rgb": [
        71,
        0,
        138
      ],
      "hsl": [
        271,
        100,
        27
      ],
      "cmyk": [
        49,
        100,
        0,
        46
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "jewel-tone"
      ],
      "luminance": 0.0317,
      "contrast": {
        "black": 1.63,
        "white": 12.85
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/47008a/"
    },
    {
      "role": "background",
      "hex": "#8A0043",
      "slug": null,
      "name": "#8A0043",
      "rgb": [
        138,
        0,
        67
      ],
      "hsl": [
        331,
        100,
        27
      ],
      "cmyk": [
        0,
        100,
        51,
        46
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.0581,
      "contrast": {
        "black": 2.16,
        "white": 9.71
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/8a0043/"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#880085",
      "name": "Mardi Gras"
    },
    {
      "role": "secondary",
      "hex": "#008A02",
      "name": "#008A02"
    },
    {
      "role": "surface",
      "hex": "#47008A",
      "name": "#47008A"
    },
    {
      "role": "background",
      "hex": "#8A0043",
      "name": "#8A0043"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#880085",
      "name": "Mardi Gras",
      "blackContrast": 2.39,
      "whiteContrast": 8.8,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#008A02",
      "name": "#008A02",
      "blackContrast": 4.64,
      "whiteContrast": 4.53,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#FFFFFF"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#47008A",
      "name": "#47008A",
      "blackContrast": 1.63,
      "whiteContrast": 12.85,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#8A0043",
      "name": "#8A0043",
      "blackContrast": 2.16,
      "whiteContrast": 9.71,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-mardi-gras-primary: #880085;\n--palette-mardi-gras-secondary: #008A02;\n--palette-mardi-gras-surface: #47008A;\n--palette-mardi-gras-background: #8A0043;\n--palette-mardi-gras-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/mardi-gras.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/mardi-gras.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/mardi-gras/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/mardi-gras.json"
}