Maroon Colors  ·  Color Library

Palettes / Colors / #7A51EC

#7A51EC — Vivid Purple

#7A51EC is a purple color we call Vivid Purple, closest to the named color SlateBlue (#6A5ACD). It belongs to the purple family.

Color name

Closest CSS keyword: slateblue (#6A5ACD) — not an exact match. CSS slateblue gives you #6A5ACD, a different color; use #7A51EC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#7A51EC is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #C2EC51; it also sits naturally between #5175EC and #C751EC. In the palettes below you can see it working alongside real color combinations from our collection.

#7A51EC · RGB 122, 81, 236

Download PNG swatch SVG

Color values

HEX#7A51EC
RGB122, 81, 236
HSL256°, 80%, 62%
HSV256°, 66%, 93%
CMYK48%, 66%, 0%, 7%
XYZ26.11, 16.08, 81.08
Yxy16.08, 0.2118, 0.1304
CIE-Lab47.08, 53.14, -72.53
Hunter Lab40.10, 48.96, -97.62

RGB & CMYK percentages

Red 48% · Green 32% · Blue 93%

Cyan 48% · Magenta 66% · Yellow 0% · Key 7%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #7A51EC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #7A51EC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #7A51EC

.text { color: #7A51EC; }
.background { background-color: #7A51EC; }
.border { border: 3px solid #7A51EC; }
.text-rgb { color: rgb(122, 81, 236); }
.text-hsl { color: hsl(256, 80%, 62%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #7A51EC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(122, 81, 236, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #7A51EC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(122, 81, 236, 0.8); }

HTML: <p style="color:#7A51EC">Text here</p> · <div style="background-color:#7A51EC">Div content here</div>

Shades of #7A51EC

#6535E9#5019E6#4817CF#3E14B3#351197#2B0E7C#220B60#1A0849#10052E#060212

Tints of #7A51EC

#845EED#9271EF#9D7EF1#AB91F3#B59FF4#C0ACF6#CEBFF8#D8CDF9#E6DFFB#F1EDFD

Tones of #7A51EC

#7F5BE1#8467D5#8972CB#8F7DBF#9488B4#9993A9

Color harmonies

Complementary — #C2EC51:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.98:1 AA
Against black text4.22:1 AA large only

Best text color on #7A51EC: #FFFFFF.

Semi-transparent (opacity) text on #7A51EC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #7A51EC: ·

How #7A51EC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #6868C6Deuteranopia · #6B6EBETritanopia · #78A9A2

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind violet 500 · #8B5CF6Tailwind violet 600 · #7C3AEDTailwind indigo 500 · #6366F1

Palettes with a similar color

These palettes use a close neighbour of #7A51EC rather than the exact color:

Hidden Voyage
#12BDA3 · #2283EA · #7559EF · #E99DF6
Silent Ruby Terrace
#2F0C88 · #7357F0 · #C6F15A · #E2EF94
Dusty Ruby Garden
#3D1180 · #844DE8 · #9FE537 · #D9F4C5
Crimson Ruby Solace
#8A3E16 · #31DE6C · #8250E3 · #EBC3B4
Cosmic Summit
#84B718 · #A6E957 · #7845E6 · #C49AEB
Frozen Tempest
#64EDDE · #58B3EC · #2439CB · #8752E4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#7559EF#7357F0#844DE8#8250E3#7845E6#8752E4#7A58DE#7760F0#7752FE#8359DE#6854E9#875CE4

Browse neighbouring colors

← #7A51EB  ·  #7A51ED →

Frequently asked questions

What color is #7A51EC?

#7A51EC is Vivid Purple, a purple color (RGB 122, 81, 236). Its closest standard named color is SlateBlue.

What is the RGB and HSL of #7A51EC?

#7A51EC is RGB 122, 81, 236 — HSL 256°, 80%, 62% — CMYK 48%, 66%, 0%, 7%.

What colors go with #7A51EC?

Its complement is #C2EC51; analogous partners are #5175EC and #C751EC. It also appears in 6+ palettes in our collection.

Can I use #7A51EC for text?

White text on #7A51EC has a contrast ratio of 4.98:1 (passes WCAG AA); black text gives 4.22:1.