HEX atlas value

#5218FA

#5218FA is a cool purple HEX color nearest Han Purple. RGB 82, 24, 250, HSL 255° 96% 54%, luminance 0.0935; view contrast and conversions.

#5218FA Sample readable text
HEX #5218FA
RGB rgb(82, 24, 250)
HSL hsl(255 96% 54%)
CMYK cmyk(67, 90, 0, 2)
Luminance 0.0935
Contrast Black 2.87:1White 7.32:1

CSS

--color-5218fa: #5218FA;
.background-5218fa { background-color: #5218FA; }
.text-5218fa { color: #5218FA; }

HEX meaning and use

About #5218FA

#5218FA is classified as a cool purple value with vibrant visual character. #5218FA is visually closest to Han Purple, a named purple color with HEX #5218FA.

The RGB channels are 82, 24, and 250, with blue carrying the strongest channel weight. In HSL, the hue is 255deg with 96% saturation and 54% 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.0935, 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 text2.87:1AA Fail
White text7.32:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000002.87:1 · Fail
White text#FFFFFF7.32:1 · AAA

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.0935
Black text2.87:1AA Fail
White text7.32: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":"#5218FA","rgb":[82,24,250],"hsl":[255,96,54],"cmyk":[67,90,0,2],"luminance":0.0935,"contrast":{"black":2.87,"white":7.32}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":2.87,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":7.32,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"#C2FA19","hex":"#C2FA19","family":"green","bestTextColor":"#000000","contrastBlack":16.98,"contrastWhite":1.24,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#3004B4","hex":"#3004B4","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.8,"contrastWhite":11.65,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#4F14FF","hex":"#4F14FF","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":2.88,"contrastWhite":7.3,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF"]},{"name":"#5E33E1","hex":"#5E33E1","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":3.04,"contrastWhite":6.92,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":[]},{"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","Han Purple adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/5218fa.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/han-purple.json","https://www.colorsencyclopedia.com/api/colors/uv-purple.json","https://www.colorsencyclopedia.com/api/colors/blue-violet.json"]}
Harmonies
{"complementary":"#C2FA19","analogous":["#1951FA","#C219FA"],"triadic":["#FA5119","#19FA51"],"tetradic":["#FA1951","#C2FA19","#19FAC2"],"splitComplementary":["#FAC219","#51FA19"],"monochromatic":["#9573FC","#5218FA","#3004B4"]}
Variants
{"light":"#9573FC","dark":"#3004B4","saturated":"#4F14FF","desaturated":"#5E33E1","pastel":"#B49EF5","neon":"#6E3DFF"}
Nearest named colors
[{"slug":"han-purple","name":"Han Purple","hex":"#5218FA","distance":0},{"slug":"uv-purple","name":"UV Purple","hex":"#6F00FF","distance":37.97367509209505},{"slug":"blue-violet","name":"Blue Violet","hex":"#8A2BE2","distance":63.8200595424354},{"slug":"cobalt-violet","name":"Cobalt Violet","hex":"#8F00FF","distance":65.7419196555744},{"slug":"iris","name":"Iris","hex":"#5A4FCF","distance":70.27090436304346}]