Royal Purple Hex Code — #7851A9

RGB, HSL, and CMYK values for Royal Purple.

Last updated: April 6, 2026

Royal Purple Color Values

FormatValue
HEX#7851A9
RGBrgb(120, 81, 169)
HSLhsl(267, 35%, 49%)
CMYKcmyk(29%, 52%, 0%, 34%)
Want to explore more shades? Use our Color Converter

About Royal Purple

Color psychology: Prestige, grandeur.

Royal Purple (#7851A9) is a medium shade of purple with a hue angle of 267° on the color wheel, 35% saturation, and 49% lightness. It's commonly used in web design, graphic design, and branding where prestige, grandeur are desired associations.

In color theory, Royal Purple sits in the cool section of the spectrum. Its moderate saturation gives it a balanced, professional appearance suitable for both text and backgrounds.

When to Use Royal Purple in Design

Web Design

Use Royal Purple for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.

Branding & Logo

Royal Purple conveys prestige, grandeur — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.

Print Design

Use the CMYK values (C:29% M:52% Y:0% K:34%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.

UI / UX Design

Dark colors like Royal Purple are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.

How to Use Royal Purple in CSS

/* Using HEX */
color: #7851A9;
background-color: #7851A9;

/* Using RGB */
color: rgb(120, 81, 169);

/* Using HSL — best for creating variations */
color: hsl(267, 35%, 49%);

/* Transparent overlay (50% opacity) */
background-color: rgba(120, 81, 169, 0.5);

/* Lighter variant for hover states */
background-color: hsl(267, 35%, 59%);

/* Darker variant for active states */
background-color: hsl(267, 35%, 39%);

HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Royal Purple without changing its core hue or saturation.

Colors That Go With Royal Purple

Complementary

Analogous

Triadic

Similar Shades of Purple

Frequently Asked Questions

What is the hex code for Royal Purple?
The hex color code for Royal Purple is #7851A9. In CSS, apply it as text color with color: #7851A9;, as a background with background-color: #7851A9;, or as a border with border-color: #7851A9;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Royal Purple in RGB and when should I use RGB?
Royal Purple in RGB is rgb(120, 81, 169), where Red=120, Green=81, and Blue=169 on a 0-255 scale. Use RGB when you need transparency — rgba(120, 81, 169, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Royal Purple in CSS with different color formats?
Royal Purple can be applied in CSS using multiple formats: (1) Hex: color: #7851A9; — most compact and widely used. (2) RGB: color: rgb(120, 81, 169); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(267, 35%, 49%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(120, 81, 169, 0.8); or hsla(267, 35%, 49%, 0.8); for 80% opacity overlays.
What is the HSL value of Royal Purple and why is HSL useful for designers?
Royal Purple in HSL is hsl(267, 35%, 49%). HSL stands for Hue (267 degrees on the color wheel), Saturation (35% color intensity), and Lightness (49% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Royal Purple a medium, moderate cool-toned color.
What is the CMYK value of Royal Purple for print design?
Royal Purple in CMYK is C:29% M:52% Y:0% K:34%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Royal Purple in design projects?
Purple pairs elegantly with gold, silver, and soft pinks. Dark purple with white creates a premium feel. In tech branding, purple signals creativity and innovation.
Is Royal Purple (#7851A9) accessible for web design and WCAG compliant?
Most medium purples fail WCAG contrast requirements on white. Use dark purple (#4A148C or darker) for text, and reserve lighter purples for decorative or background elements only. For Royal Purple specifically: as a medium shade (lightness: 49%), it can work as a text color on light backgrounds, but verify the exact contrast ratio using a contrast checker tool. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.