Blue Violet Hex Code — #8A2BE2
RGB, HSL, and CMYK values for Blue Violet.
Last updated: April 6, 2026
Blue Violet Color Values
| Format | Value |
|---|---|
| HEX | #8A2BE2 |
| RGB | rgb(138, 43, 226) |
| HSL | hsl(271, 76%, 53%) |
| CMYK | cmyk(39%, 81%, 0%, 11%) |
About Blue Violet
Color psychology: Creativity, uniqueness.
Blue Violet (#8A2BE2) is a medium shade of purple with a hue angle of 271° on the color wheel, 76% saturation, and 53% lightness. It's commonly used in web design, graphic design, and branding where creativity, uniqueness are desired associations.
In color theory, Blue Violet sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Blue Violet in Design
Web Design
Use Blue Violet 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
Blue Violet conveys creativity, uniqueness — 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:39% M:81% Y:0% K:11%) 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
Light colors like Blue Violet work well for card backgrounds, section dividers, and hover states. Pair with a darker variant for active/selected states.
How to Use Blue Violet in CSS
/* Using HEX */ color: #8A2BE2; background-color: #8A2BE2; /* Using RGB */ color: rgb(138, 43, 226); /* Using HSL — best for creating variations */ color: hsl(271, 76%, 53%); /* Transparent overlay (50% opacity) */ background-color: rgba(138, 43, 226, 0.5); /* Lighter variant for hover states */ background-color: hsl(271, 76%, 63%); /* Darker variant for active states */ background-color: hsl(271, 76%, 43%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Blue Violet without changing its core hue or saturation.
Colors That Go With Blue Violet
Complementary
Analogous
Triadic
Similar Shades of Purple
Frequently Asked Questions
What is the hex code for Blue Violet?
What is Blue Violet in RGB and when should I use RGB?
How to use Blue Violet in CSS with different color formats?
What is the HSL value of Blue Violet and why is HSL useful for designers?
What is the CMYK value of Blue Violet for print design?
What colors pair well with Blue Violet in design projects?
Is Blue Violet (#8A2BE2) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
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.