Generated palette
Blue Violet Palette
Blue Violet Palette: #8A2BE2, #84E22C, #2F2CE2, #E22CDF. Check roles, contrast and CSS variables; open source-color links and JSON.
Blue Violet Palette assigns primary #8A2BE2, secondary #84E22C, surface #2F2CE2, background #E22CDF, accent #FFFFFF. The set spans Purple, Green, Blue, and Pink families with cool, warm, and neutral temperatures. Luminance runs from #2F2CE2 at 0.079 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Blue Violet Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#8A2BE2Blue Violet#84E22C#84E22C#2F2CE2#2F2CE2#E22CDF#E22CDF#FFFFFFWhiteCSS Variables
--palette-blue-violet-primary: #8A2BE2; --palette-blue-violet-secondary: #84E22C; --palette-blue-violet-surface: #2F2CE2; --palette-blue-violet-background: #E22CDF; --palette-blue-violet-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Blue Violet Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Blue Violet Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Blue Violet Palette Data (JSON)
Structured palette data for Blue Violet 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": "#8A2BE2",
"name": "Blue Violet"
},
{
"role": "secondary",
"hex": "#84E22C",
"name": "#84E22C"
},
{
"role": "surface",
"hex": "#2F2CE2",
"name": "#2F2CE2"
},
{
"role": "background",
"hex": "#E22CDF",
"name": "#E22CDF"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#8A2BE2",
"name": "Blue Violet",
"blackContrast": 3.52,
"whiteContrast": 5.96,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#84E22C",
"name": "#84E22C",
"blackContrast": 12.9,
"whiteContrast": 1.63,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A"
]
},
{
"role": "surface",
"hex": "#2F2CE2",
"name": "#2F2CE2",
"blackContrast": 2.58,
"whiteContrast": 8.14,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#E22CDF",
"name": "#E22CDF",
"blackContrast": 5.66,
"whiteContrast": 3.71,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
]Semantic groups
[
"blue violet palette",
"generated palette",
"purple palette",
"green palette",
"blue palette",
"pink palette",
"gray palette",
"vibrant palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
]CSS variables
"--palette-blue-violet-primary: #8A2BE2;\n--palette-blue-violet-secondary: #84E22C;\n--palette-blue-violet-surface: #2F2CE2;\n--palette-blue-violet-background: #E22CDF;\n--palette-blue-violet-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "blue-violet",
"name": "Blue Violet Palette",
"type": "generated",
"sourceColor": "blue-violet",
"description": "Generated palette built from Blue Violet, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Blue Violet Palette combines primary #8A2BE2, secondary #84E22C, surface #2F2CE2, background #E22CDF, accent #FFFFFF. 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": [
"blue violet palette",
"generated palette",
"purple palette",
"green palette",
"blue palette",
"pink palette",
"gray palette",
"vibrant palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#8A2BE2",
"slug": "blue-violet",
"name": "Blue Violet",
"rgb": [
138,
43,
226
],
"hsl": [
271,
76,
53
],
"cmyk": [
39,
81,
0,
11
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.1262,
"contrast": {
"black": 3.52,
"white": 5.96
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/blue-violet/"
},
{
"role": "secondary",
"hex": "#84E22C",
"slug": null,
"name": "#84E22C",
"rgb": [
132,
226,
44
],
"hsl": [
91,
76,
53
],
"cmyk": [
42,
0,
81,
11
],
"family": "green",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.5948,
"contrast": {
"black": 12.9,
"white": 1.63
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"url": null
},
{
"role": "surface",
"hex": "#2F2CE2",
"slug": null,
"name": "#2F2CE2",
"rgb": [
47,
44,
226
],
"hsl": [
241,
76,
53
],
"cmyk": [
79,
81,
0,
11
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.079,
"contrast": {
"black": 2.58,
"white": 8.14
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#E22CDF",
"slug": null,
"name": "#E22CDF",
"rgb": [
226,
44,
223
],
"hsl": [
301,
76,
53
],
"cmyk": [
0,
81,
1,
11
],
"family": "pink",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.233,
"contrast": {
"black": 5.66,
"white": 3.71
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"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": "#8A2BE2",
"name": "Blue Violet"
},
{
"role": "secondary",
"hex": "#84E22C",
"name": "#84E22C"
},
{
"role": "surface",
"hex": "#2F2CE2",
"name": "#2F2CE2"
},
{
"role": "background",
"hex": "#E22CDF",
"name": "#E22CDF"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#8A2BE2",
"name": "Blue Violet",
"blackContrast": 3.52,
"whiteContrast": 5.96,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#84E22C",
"name": "#84E22C",
"blackContrast": 12.9,
"whiteContrast": 1.63,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A"
]
},
{
"role": "surface",
"hex": "#2F2CE2",
"name": "#2F2CE2",
"blackContrast": 2.58,
"whiteContrast": 8.14,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#E22CDF",
"name": "#E22CDF",
"blackContrast": 5.66,
"whiteContrast": 3.71,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
],
"cssVariables": "--palette-blue-violet-primary: #8A2BE2;\n--palette-blue-violet-secondary: #84E22C;\n--palette-blue-violet-surface: #2F2CE2;\n--palette-blue-violet-background: #E22CDF;\n--palette-blue-violet-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/blue-violet.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/blue-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/blue-violet.json"
}