Royal Purple (#7851A9)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 5.92:1 — vs black: 3.55:1
Color values
-
HEX
#7851A9 -
RGB
rgb(120, 81, 169) -
HSL
hsl(266, 52%, 66%) -
CMYK
cmyk( 28.99, 52.07, 0, 33.73 ) -
Websafe
#666699
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #7851A9 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#7851A9
Base
#82A951
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#7851A9
Base
#5156A9
#A451A9
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#7851A9
Base
#A97851
#51A978
Two colors flanking the complement — high contrast with less tension than full complementary.
#7851A9
Base
#A9A451
#56A951
Four colors at 90° intervals — rich variety, best when one color dominates.
#7851A9
Base
#A95156
#82A951
#51A9A4
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#7851A9
Base
#2F1F42
#533875
#64448D
#8D6BB8
#A083C4
#C7B7DC
Darker shades and lighter tints of Royal Purple, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#0C0811
#221730
#37254E
#4D346C
#62428B
#7851A9
Base
#906FBA
#A98FC9
#C1AED8
#D9CEE8
#F2EEF7
Ready-to-use code snippets for #7851A9. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #7851A9;
}
/* Text */
.element {
color: #7851A9;
}
/* Border */
.element {
border: 1px solid #7851A9;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#7851A9,
#AED67C
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#7851A9,
#AED67C
);
}
// SCSS variable
$royal-purple: #7851A9;
// With RGB channels (useful for rgba() usage)
$royal-purple-r: 120;
$royal-purple-g: 81;
$royal-purple-b: 169;
// Usage
.element {
background-color: $royal-purple;
color: rgba($royal-purple-r, $royal-purple-g, $royal-purple-b, 0.8);
}
How Royal Purple appears to people with different types of color vision deficiency.
#7851A9
How the color appears with full color vision.
#5E5EA9
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#5656A9
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#6B6262
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#646464
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.