Generated palette

Medium Purple Palette

Medium Purple Palette is a generated palette built from #9370DB, #B8DB70, #7082DB, #C970DB. 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.

Medium Purple Palette combines primary #9370DB, secondary #B8DB70, surface #7082DB, background #C970DB, accent #000000. According to Colors Encyclopedia, the palette works as a purple palette, green palette, blue 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
Purple palettedominant group
7use 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#9370DBMedium Purple
Secondary#B8DB70#B8DB70
Surface#7082DB#7082DB
Background#C970DB#C970DB
Accent#000000Black

CSS Variables

--palette-medium-purple-primary: #9370DB;
--palette-medium-purple-secondary: #B8DB70;
--palette-medium-purple-surface: #7082DB;
--palette-medium-purple-background: #C970DB;
--palette-medium-purple-accent: #000000;

Accessibility Snapshot

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

Primary#9370DB
Black 5.58:1 · White 3.76:1
Best #000000
Secondary#B8DB70
Black 13.4:1 · White 1.57:1
Best #000000
Surface#7082DB
Black 5.9:1 · White 3.56:1
Best #000000
Background#C970DB
Black 6.82:1 · White 3.08:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

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 Medium Purple Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.2291
Black text5.58:1AA Pass
White text3.76:1AA Fail
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": "#9370DB",
    "name": "Medium Purple"
  },
  {
    "role": "secondary",
    "hex": "#B8DB70",
    "name": "#B8DB70"
  },
  {
    "role": "surface",
    "hex": "#7082DB",
    "name": "#7082DB"
  },
  {
    "role": "background",
    "hex": "#C970DB",
    "name": "#C970DB"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#9370DB",
    "name": "Medium Purple",
    "blackContrast": 5.58,
    "whiteContrast": 3.76,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#B8DB70",
    "name": "#B8DB70",
    "blackContrast": 13.4,
    "whiteContrast": 1.57,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#7082DB",
    "name": "#7082DB",
    "blackContrast": 5.9,
    "whiteContrast": 3.56,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#C970DB",
    "name": "#C970DB",
    "blackContrast": 6.82,
    "whiteContrast": 3.08,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "medium purple palette",
  "generated palette",
  "purple palette",
  "green palette",
  "blue palette",
  "pink palette",
  "gray palette",
  "balanced palette",
  "earth tone palette",
  "dark palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "natural branding",
  "wellness and botanical palettes",
  "calm digital interfaces"
]
CSS variables
"--palette-medium-purple-primary: #9370DB;\n--palette-medium-purple-secondary: #B8DB70;\n--palette-medium-purple-surface: #7082DB;\n--palette-medium-purple-background: #C970DB;\n--palette-medium-purple-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "medium-purple",
  "name": "Medium Purple Palette",
  "type": "generated",
  "sourceColor": "medium-purple",
  "description": "Generated palette built from Medium Purple, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Medium Purple Palette combines primary #9370DB, secondary #B8DB70, surface #7082DB, background #C970DB, accent #000000. According to Colors Encyclopedia, the palette works as a purple palette, green palette, blue 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": [
    "medium purple palette",
    "generated palette",
    "purple palette",
    "green palette",
    "blue palette",
    "pink palette",
    "gray palette",
    "balanced palette",
    "earth tone palette",
    "dark palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "natural branding",
    "wellness and botanical palettes",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#9370DB",
      "slug": "medium-purple",
      "name": "Medium Purple",
      "rgb": [
        147,
        112,
        219
      ],
      "hsl": [
        260,
        60,
        65
      ],
      "cmyk": [
        33,
        49,
        0,
        14
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2291,
      "contrast": {
        "black": 5.58,
        "white": 3.76
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/medium-purple/"
    },
    {
      "role": "secondary",
      "hex": "#B8DB70",
      "slug": null,
      "name": "#B8DB70",
      "rgb": [
        184,
        219,
        112
      ],
      "hsl": [
        80,
        60,
        65
      ],
      "cmyk": [
        16,
        0,
        49,
        14
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "earth-tone"
      ],
      "luminance": 0.6202,
      "contrast": {
        "black": 13.4,
        "white": 1.57
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/b8db70/"
    },
    {
      "role": "surface",
      "hex": "#7082DB",
      "slug": null,
      "name": "#7082DB",
      "rgb": [
        112,
        130,
        219
      ],
      "hsl": [
        230,
        60,
        65
      ],
      "cmyk": [
        49,
        41,
        0,
        14
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2452,
      "contrast": {
        "black": 5.9,
        "white": 3.56
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/7082db/"
    },
    {
      "role": "background",
      "hex": "#C970DB",
      "slug": null,
      "name": "#C970DB",
      "rgb": [
        201,
        112,
        219
      ],
      "hsl": [
        290,
        60,
        65
      ],
      "cmyk": [
        8,
        49,
        0,
        14
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2912,
      "contrast": {
        "black": 6.82,
        "white": 3.08
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/c970db/"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "slug": "black",
      "name": "Black",
      "rgb": [
        0,
        0,
        0
      ],
      "hsl": [
        0,
        0,
        0
      ],
      "cmyk": [
        0,
        0,
        0,
        100
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark",
        "neutral"
      ],
      "luminance": 0,
      "contrast": {
        "black": 1,
        "white": 21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/black/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#9370DB",
      "name": "Medium Purple"
    },
    {
      "role": "secondary",
      "hex": "#B8DB70",
      "name": "#B8DB70"
    },
    {
      "role": "surface",
      "hex": "#7082DB",
      "name": "#7082DB"
    },
    {
      "role": "background",
      "hex": "#C970DB",
      "name": "#C970DB"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#9370DB",
      "name": "Medium Purple",
      "blackContrast": 5.58,
      "whiteContrast": 3.76,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#B8DB70",
      "name": "#B8DB70",
      "blackContrast": 13.4,
      "whiteContrast": 1.57,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#7082DB",
      "name": "#7082DB",
      "blackContrast": 5.9,
      "whiteContrast": 3.56,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#C970DB",
      "name": "#C970DB",
      "blackContrast": 6.82,
      "whiteContrast": 3.08,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-medium-purple-primary: #9370DB;\n--palette-medium-purple-secondary: #B8DB70;\n--palette-medium-purple-surface: #7082DB;\n--palette-medium-purple-background: #C970DB;\n--palette-medium-purple-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/medium-purple.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/medium-purple.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/medium-purple/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/medium-purple.json"
}