HEX atlas value

#7851A9

#7851A9 is a cool purple HEX color close to Royal Purple. According to Colors Encyclopedia, it converts to RGB 120, 81, 169, HSL 267, 35%, 49%, has luminance 0.1274, and belongs to the balanced group.

#7851A9 Sample readable text
HEX #7851A9
RGB rgb(120, 81, 169)
HSL hsl(267 35% 49%)
CMYK cmyk(29, 52, 0, 34)
Luminance 0.1274
Contrast Black 3.55:1White 5.92:1

CSS

--color-7851a9: #7851A9;
.background-7851a9 { background-color: #7851A9; }
.text-7851a9 { color: #7851A9; }

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.1274
Black text3.55:1AA Fail
White text5.92: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":"#7851A9","rgb":[120,81,169],"hsl":[267,35,49],"cmyk":[29,52,0,34],"luminance":0.1274,"contrast":{"black":3.55,"white":5.92}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":3.55,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":5.92,"wcagAA":true,"wcagAAA":false}]
Accessible alternatives
[{"name":"#4C336B","hex":"#4C336B","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.99,"contrastWhite":10.53,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Rebecca Purple","hex":"#663399","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":2.5,"contrastWhite":8.41,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Amethyst Deep","hex":"#5D3A9B","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":2.54,"contrastWhite":8.25,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Grape","hex":"#6F2DA8","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":2.62,"contrastWhite":8.03,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#81A951","hex":"#81A951","family":"green","bestTextColor":"#000000","contrastBlack":7.73,"contrastWhite":2.72,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]}]
AI context
{"semanticGroups":["cool purple","balanced","balanced purple","Royal Purple adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/7851a9.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/royal-purple.json","https://www.colorsencyclopedia.com/api/colors/grape.json","https://www.colorsencyclopedia.com/api/colors/amethyst-deep.json"]}
Harmonies
{"complementary":"#81A951","analogous":["#5156A9","#A451A9"],"triadic":["#A97951","#51A979"],"tetradic":["#A95156","#81A951","#51A9A4"],"splitComplementary":["#A9A451","#56A951"],"monochromatic":["#A88DC8","#7851A9","#4C336B"]}
Variants
{"light":"#A88DC8","dark":"#4C336B","saturated":"#7636C4","desaturated":"#7B6D8D","pastel":"#BBAFCA","neon":"#8624FF"}
Nearest named colors
[{"slug":"royal-purple","name":"Royal Purple","hex":"#7851A9","distance":0},{"slug":"grape","name":"Grape","hex":"#6F2DA8","distance":37.12142238654117},{"slug":"amethyst-deep","name":"Amethyst Deep","hex":"#5D3A9B","distance":38.13135192987524},{"slug":"rebecca-purple","name":"Rebecca Purple","hex":"#663399","distance":38.47076812334269},{"slug":"slate-blue","name":"Slate Blue","hex":"#6A5ACD","distance":39.66106403010388}]

HEX meaning and use

About #7851A9

#7851A9 is classified as a cool purple value with balanced visual character. #7851A9 is visually closest to Royal Purple, a named purple color with HEX #7851A9.

The RGB channels are 120, 81, and 169, with blue carrying the strongest channel weight. In HSL, the hue is 267deg with 35% saturation and 49% lightness, so this page treats it as a moderate-saturation, mid-lightness atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, and CSS color tokens. Its luminance is 0.1274, 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.55:1AA Fail
White text5.92:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000003.55:1 · Fail
White text#FFFFFF5.92:1 · AA

Accessible Alternatives

#4C336B#FFFFFF text · best 10.53:1#4C336B
Rebecca Purple#FFFFFF text · best 8.41:1#663399
Amethyst Deep#FFFFFF text · best 8.25:1#5D3A9B
Grape#FFFFFF text · best 8.03:1#6F2DA8
#81A951#000000 text · best 7.73:1#81A951

Generated Palette

Royal Purple#7851A9
#81A951#81A951
#5156A9#5156A9
#A451A9#A451A9
#A88DC8#A88DC8
#4C336B#4C336B

Color Harmonies

#81A951#81A951
#5156A9#5156A9
#A451A9#A451A9
#A97951#A97951
#51A979#51A979

Variants

#A88DC8#A88DC8
#4C336B#4C336B
#7636C4#7636C4
#7B6D8D#7B6D8D
#BBAFCA#BBAFCA
#8624FF#8624FF

Nearest Named Colors