Generated palette
Cobalt Violet Palette
Cobalt Violet Palette: #8F00FF, #6EFF00, #1100FF, #FF00EE. Check roles, contrast and CSS variables; open source-color links and JSON.
Cobalt Violet Palette assigns primary #8F00FF, secondary #6EFF00, surface #1100FF, background #FF00EE, accent #FFFFFF. The set spans Purple, Green, Blue, and Pink families with cool, warm, and neutral temperatures. Luminance runs from #1100FF at 0.0734 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Cobalt Violet Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#8F00FFCobalt Violet#6EFF00#6EFF00#1100FF#1100FF#FF00EE#FF00EE#FFFFFFWhiteCSS Variables
--palette-cobalt-violet-primary: #8F00FF; --palette-cobalt-violet-secondary: #6EFF00; --palette-cobalt-violet-surface: #1100FF; --palette-cobalt-violet-background: #FF00EE; --palette-cobalt-violet-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Cobalt Violet Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Cobalt Violet Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Cobalt Violet Palette Data (JSON)
Structured palette data for Cobalt 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": "#8F00FF",
"name": "Cobalt Violet"
},
{
"role": "secondary",
"hex": "#6EFF00",
"name": "#6EFF00"
},
{
"role": "surface",
"hex": "#1100FF",
"name": "#1100FF"
},
{
"role": "background",
"hex": "#FF00EE",
"name": "#FF00EE"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#8F00FF",
"name": "Cobalt Violet",
"blackContrast": 3.61,
"whiteContrast": 5.81,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#6EFF00",
"name": "#6EFF00",
"blackContrast": 15.97,
"whiteContrast": 1.32,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#1100FF",
"name": "#1100FF",
"blackContrast": 2.47,
"whiteContrast": 8.51,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#FF00EE",
"name": "#FF00EE",
"blackContrast": 6.49,
"whiteContrast": 3.24,
"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
[
"cobalt 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-cobalt-violet-primary: #8F00FF;\n--palette-cobalt-violet-secondary: #6EFF00;\n--palette-cobalt-violet-surface: #1100FF;\n--palette-cobalt-violet-background: #FF00EE;\n--palette-cobalt-violet-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "cobalt-violet",
"name": "Cobalt Violet Palette",
"type": "generated",
"sourceColor": "cobalt-violet",
"description": "Generated palette built from Cobalt Violet, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Cobalt Violet Palette combines primary #8F00FF, secondary #6EFF00, surface #1100FF, background #FF00EE, 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": [
"cobalt 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": "#8F00FF",
"slug": "cobalt-violet",
"name": "Cobalt Violet",
"rgb": [
143,
0,
255
],
"hsl": [
274,
100,
50
],
"cmyk": [
44,
100,
0,
0
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.1306,
"contrast": {
"black": 3.61,
"white": 5.81
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/cobalt-violet/"
},
{
"role": "secondary",
"hex": "#6EFF00",
"slug": null,
"name": "#6EFF00",
"rgb": [
110,
255,
0
],
"hsl": [
94,
100,
50
],
"cmyk": [
57,
0,
100,
0
],
"family": "green",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.7483,
"contrast": {
"black": 15.97,
"white": 1.32
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": null
},
{
"role": "surface",
"hex": "#1100FF",
"slug": null,
"name": "#1100FF",
"rgb": [
17,
0,
255
],
"hsl": [
244,
100,
50
],
"cmyk": [
93,
100,
0,
0
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.0734,
"contrast": {
"black": 2.47,
"white": 8.51
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#FF00EE",
"slug": null,
"name": "#FF00EE",
"rgb": [
255,
0,
238
],
"hsl": [
304,
100,
50
],
"cmyk": [
0,
100,
7,
0
],
"family": "pink",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.2743,
"contrast": {
"black": 6.49,
"white": 3.24
},
"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": "#8F00FF",
"name": "Cobalt Violet"
},
{
"role": "secondary",
"hex": "#6EFF00",
"name": "#6EFF00"
},
{
"role": "surface",
"hex": "#1100FF",
"name": "#1100FF"
},
{
"role": "background",
"hex": "#FF00EE",
"name": "#FF00EE"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#8F00FF",
"name": "Cobalt Violet",
"blackContrast": 3.61,
"whiteContrast": 5.81,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#6EFF00",
"name": "#6EFF00",
"blackContrast": 15.97,
"whiteContrast": 1.32,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#1100FF",
"name": "#1100FF",
"blackContrast": 2.47,
"whiteContrast": 8.51,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#FF00EE",
"name": "#FF00EE",
"blackContrast": 6.49,
"whiteContrast": 3.24,
"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-cobalt-violet-primary: #8F00FF;\n--palette-cobalt-violet-secondary: #6EFF00;\n--palette-cobalt-violet-surface: #1100FF;\n--palette-cobalt-violet-background: #FF00EE;\n--palette-cobalt-violet-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/cobalt-violet.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/cobalt-violet.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/cobalt-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/cobalt-violet.json"
}