Generated palette

Electric Purple Palette

Electric Purple Palette: #BF00FF, #40FF00, #4000FF, #FF00BF. Check roles, contrast and CSS variables; open source-color links and JSON.

Electric Purple Palette assigns primary #BF00FF, secondary #40FF00, surface #4000FF, background #FF00BF, accent #000000. The set spans Purple, Green, Pink, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #40FF00 at 0.7261; black gives higher contrast on 3 of 5 values.

5colors
Purple palettedominant group
5use cases

Palette Color Roles

Electric Purple Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#BF00FFElectric Purple
Secondary#40FF00#40FF00
Surface#4000FF#4000FF
Background#FF00BF#FF00BF
Accent#000000Black

CSS Variables

--palette-electric-purple-primary: #BF00FF;
--palette-electric-purple-secondary: #40FF00;
--palette-electric-purple-surface: #4000FF;
--palette-electric-purple-background: #FF00BF;
--palette-electric-purple-accent: #000000;

Accessibility Snapshot

Compare all 5 Electric Purple Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#BF00FF
Black 4.66:1 · White 4.51:1
Best #000000
Secondary#40FF00
Black 15.52:1 · White 1.35:1
Best #000000
Surface#4000FF
Black 2.66:1 · White 7.89:1
Best #FFFFFF
Background#FF00BF
Black 6:1 · White 3.5:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

Preview how the Electric Purple Palette roles behave together across common interface components before copying the CSS variables.

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

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

AI-Ready Dataset v1.0.0
Luminance0.183
Black text4.66:1AA Pass
White text4.51: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": "#BF00FF",
    "name": "Electric Purple"
  },
  {
    "role": "secondary",
    "hex": "#40FF00",
    "name": "#40FF00"
  },
  {
    "role": "surface",
    "hex": "#4000FF",
    "name": "#4000FF"
  },
  {
    "role": "background",
    "hex": "#FF00BF",
    "name": "#FF00BF"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#BF00FF",
    "name": "Electric Purple",
    "blackContrast": 4.66,
    "whiteContrast": 4.51,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#FFFFFF"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#40FF00",
    "name": "#40FF00",
    "blackContrast": 15.52,
    "whiteContrast": 1.35,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#4000FF",
    "name": "#4000FF",
    "blackContrast": 2.66,
    "whiteContrast": 7.89,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#FF00BF",
    "name": "#FF00BF",
    "blackContrast": 6,
    "whiteContrast": 3.5,
    "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
[
  "electric purple palette",
  "generated palette",
  "purple palette",
  "green palette",
  "pink palette",
  "gray palette",
  "vibrant palette",
  "dark palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes"
]
CSS variables
"--palette-electric-purple-primary: #BF00FF;\n--palette-electric-purple-secondary: #40FF00;\n--palette-electric-purple-surface: #4000FF;\n--palette-electric-purple-background: #FF00BF;\n--palette-electric-purple-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "electric-purple",
  "name": "Electric Purple Palette",
  "type": "generated",
  "sourceColor": "electric-purple",
  "description": "Generated palette built from Electric Purple, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Electric Purple Palette combines primary #BF00FF, secondary #40FF00, surface #4000FF, background #FF00BF, accent #000000. According to Colors Encyclopedia, the palette works as a purple palette, green palette, pink 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": [
    "electric purple palette",
    "generated palette",
    "purple palette",
    "green palette",
    "pink palette",
    "gray palette",
    "vibrant palette",
    "dark palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#BF00FF",
      "slug": "electric-purple",
      "name": "Electric Purple",
      "rgb": [
        191,
        0,
        255
      ],
      "hsl": [
        285,
        100,
        50
      ],
      "cmyk": [
        25,
        100,
        0,
        0
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.183,
      "contrast": {
        "black": 4.66,
        "white": 4.51
      },
      "wcag": {
        "AA": [
          "#000000",
          "#FFFFFF"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/electric-purple/"
    },
    {
      "role": "secondary",
      "hex": "#40FF00",
      "slug": null,
      "name": "#40FF00",
      "rgb": [
        64,
        255,
        0
      ],
      "hsl": [
        105,
        100,
        50
      ],
      "cmyk": [
        75,
        0,
        100,
        0
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.7261,
      "contrast": {
        "black": 15.52,
        "white": 1.35
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#4000FF",
      "slug": null,
      "name": "#4000FF",
      "rgb": [
        64,
        0,
        255
      ],
      "hsl": [
        255,
        100,
        50
      ],
      "cmyk": [
        75,
        100,
        0,
        0
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.0831,
      "contrast": {
        "black": 2.66,
        "white": 7.89
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#FF00BF",
      "slug": null,
      "name": "#FF00BF",
      "rgb": [
        255,
        0,
        191
      ],
      "hsl": [
        315,
        100,
        50
      ],
      "cmyk": [
        0,
        100,
        25,
        0
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.2502,
      "contrast": {
        "black": 6,
        "white": 3.5
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "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": "#BF00FF",
      "name": "Electric Purple"
    },
    {
      "role": "secondary",
      "hex": "#40FF00",
      "name": "#40FF00"
    },
    {
      "role": "surface",
      "hex": "#4000FF",
      "name": "#4000FF"
    },
    {
      "role": "background",
      "hex": "#FF00BF",
      "name": "#FF00BF"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#BF00FF",
      "name": "Electric Purple",
      "blackContrast": 4.66,
      "whiteContrast": 4.51,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#FFFFFF"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#40FF00",
      "name": "#40FF00",
      "blackContrast": 15.52,
      "whiteContrast": 1.35,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#4000FF",
      "name": "#4000FF",
      "blackContrast": 2.66,
      "whiteContrast": 7.89,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#FF00BF",
      "name": "#FF00BF",
      "blackContrast": 6,
      "whiteContrast": 3.5,
      "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-electric-purple-primary: #BF00FF;\n--palette-electric-purple-secondary: #40FF00;\n--palette-electric-purple-surface: #4000FF;\n--palette-electric-purple-background: #FF00BF;\n--palette-electric-purple-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/electric-purple.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/electric-purple.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/electric-purple/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/electric-purple.json"
}