Generated palette
Mardi Gras Palette
Mardi Gras Palette: #880085, #008A02, #47008A, #8A0043. Check roles, contrast and CSS variables; open source-color links and JSON.
Mardi Gras Palette assigns primary #880085, secondary #008A02, surface #47008A, background #8A0043, accent #FFFFFF. The set spans Pink, Green, Purple, and Gray families with warm, cool, and neutral temperatures. Luminance runs from #47008A at 0.0317 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Mardi Gras Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#880085Mardi Gras#008A02#008A02#47008A#47008A#8A0043#8A0043#FFFFFFWhiteCSS 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
Compare all 5 Mardi Gras Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Mardi Gras Palette roles behave together across common interface components before copying the CSS variables.
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.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured 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": null
},
{
"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": null
},
{
"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": null
},
{
"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"
}