HEX atlas value

#8A2BE2

#8A2BE2 is a cool purple HEX color nearest Blue Violet. RGB 138, 43, 226, HSL 271° 76% 53%, luminance 0.1262; view contrast and conversions.

#8A2BE2 Sample readable text
HEX #8A2BE2
RGB rgb(138, 43, 226)
HSL hsl(271 76% 53%)
CMYK cmyk(39, 81, 0, 11)
Luminance 0.1262
Contrast Black 3.52:1White 5.96:1

CSS

--color-8a2be2: #8A2BE2;
.background-8a2be2 { background-color: #8A2BE2; }
.text-8a2be2 { color: #8A2BE2; }

HEX meaning and use

About #8A2BE2

#8A2BE2 is classified as a cool purple value with vibrant visual character. #8A2BE2 is visually closest to Blue Violet, a named purple color with HEX #8A2BE2.

The RGB channels are 138, 43, and 226, with blue carrying the strongest channel weight. In HSL, the hue is 271deg with 76% saturation and 53% lightness, so this page treats it as a high-saturation, mid-lightness atlas color rather than a generic swatch.

Practical uses for this HEX value include color conversion, WCAG contrast checks, CSS color tokens, and high-energy accents. Its luminance is 0.1262, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text3.52:1AA Fail
White text5.96:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #8A2BE2 needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000003.52:1 · Fail
White text#FFFFFF5.96:1 · AA

Accessible Alternatives

Generated Palette

Color Harmonies

Variants

Nearest Named Colors

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.1262
Black text3.52:1AA Fail
White text5.96:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#8A2BE2","rgb":[138,43,226],"hsl":[271,76,53],"cmyk":[39,81,0,11],"luminance":0.1262,"contrast":{"black":3.52,"white":5.96}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.52,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.96,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#84E22C","hex":"#84E22C","family":"green","bestTextColor":"#000000","contrastBlack":12.9,"contrastWhite":1.63,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#5C159D","hex":"#5C159D","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":2.05,"contrastWhite":10.24,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#2F2CE2","hex":"#2F2CE2","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.58,"contrastWhite":8.14,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#B77DED","hex":"#B77DED","family":"purple","bestTextColor":"#000000","contrastBlack":7.17,"contrastWhite":2.93,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]},{"name":"UV Purple","hex":"#6F00FF","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":3.12,"contrastWhite":6.73,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":[]}]
AI context
{"semanticGroups":["cool purple","vibrant","vibrant purple","Blue Violet adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/8a2be2.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/blue-violet.json","https://www.colorsencyclopedia.com/api/colors/dark-orchid.json","https://www.colorsencyclopedia.com/api/colors/dark-violet.json"]}
Harmonies
{"complementary":"#84E22C","analogous":["#2F2CE2","#E22CDF"],"triadic":["#E28A2C","#2CE28A"],"tetradic":["#E22F2C","#84E22C","#2CDFE2"],"splitComplementary":["#DFE22C","#2CE22F"],"monochromatic":["#B77DED","#8A2BE2","#5C159D"]}
Variants
{"light":"#B77DED","dark":"#5C159D","saturated":"#8B12FD","desaturated":"#8946C8","pastel":"#C8A5E9","neon":"#9F38FF"}
Nearest named colors
[{"slug":"blue-violet","name":"Blue Violet","hex":"#8A2BE2","distance":0},{"slug":"dark-orchid","name":"Dark Orchid","hex":"#9932CC","distance":27.53179979587241},{"slug":"dark-violet","name":"Dark Violet","hex":"#9400D3","distance":46.62617290749907},{"slug":"cobalt-violet","name":"Cobalt Violet","hex":"#8F00FF","distance":52.10566188045211},{"slug":"uv-purple","name":"UV Purple","hex":"#6F00FF","distance":58.47221562417487}]