Discord Blurple Hex Code: The Exact #5865F2 Color Guide
The Discord blurple hex code is one of the most recognizable colors in the gaming and online community space. If you are building a Discord bot, designing an embed, or trying to match the platform’s iconic look, the exact code you need is #5865F2. This vivid blend of blue and purple has become shorthand for Discord itself, and getting it right can make your project feel instantly more native to the ecosystem.
But there is more than one blurple in Discord’s history. The platform’s older signature color, #7289DA, still appears in countless tutorials, bot dashboards, and fan projects. Understanding both the current and legacy codes—along with their RGB, HSL, and accessibility implications—helps you choose the right shade for buttons, links, embeds, and branding.
What Is Discord Blurple?
Discord blurple is the nickname for the platform’s primary brand color, a saturated blue-purple that sits between royal blue and violet. It is not just a random accent color; it is a core part of Discord’s visual identity, used across the logo, interface buttons, links, and promotional materials. The current official blurple is #5865F2, introduced during Discord’s 2021 brand refresh.
Because the color is so closely tied to Discord, using it correctly signals familiarity and community. Developers often reach for blurple when they want their bot, server dashboard, or documentation to feel like a natural extension of the platform. The shade is bright enough to stand out on dark interfaces but controlled enough to work as a functional accent rather than a distracting background.
The Current Discord Blurple Hex Code
The current Discord blurple hex code is #5865F2. In RGB, that translates to rgb(88, 101, 242). In HSL, it is approximately hsl(235, 86%, 65%). This version is more vivid and electric than the older blurple, which gives it stronger presence on modern dark-mode interfaces and high-resolution displays.
For CSS, you can use it directly as background-color: #5865F2; or color: #5865F2;. Its contrast ratio against white is roughly 4.6:1, and against black it is about 4.56:1, meaning it narrowly passes WCAG AA for normal text in both directions. That makes it flexible, but it still deserves careful testing when used for small labels or low-weight typography.
Legacy Discord Blurple: #7289DA
Before the 2021 rebrand, Discord’s signature color was #7289DA. Its RGB values are rgb(114, 137, 218), and its HSL is approximately hsl(227, 58%, 65%). This legacy blurple is softer, slightly more muted, and leans a bit closer to periwinkle than the current electric blue-purple.
Many older Discord embeds, bot websites, and design systems still reference #7289DA. It carries a nostalgic weight for long-time users, but it also has lower contrast against white—around 3.33:1—so it fails WCAG AA for normal text unless used for large text, icons, or decorative elements. For modern projects that need an official match, #5865F2 is the safer choice.
How to Use the Discord Blurple Hex Code Correctly
Using blurple correctly is about more than pasting a hex value into a stylesheet. The color should function as an accent, not as the entire canvas. Reserve it for primary actions, active states, links, focus rings, and key highlights so it retains its visual impact. When everything is blurple, nothing is.
Consistency matters just as much as placement. Define the color once in your design system, then reuse it through variables or tokens. Pair it with neutral shades such as white, light gray, and Discord-inspired dark grays to create hierarchy. This approach keeps your interface readable while still feeling unmistakably Discord-themed.
CSS and Design System Implementation
A clean way to manage the Discord blurple hex code is with CSS custom properties. For example, you can define --discord-blurple: #5865F2; along with RGB and HSL variants for transparency and theming. This makes it easy to adjust the color globally without hunting through every component.
For hover and active states, avoid simply inverting the color. Instead, use darker variants such as #4752C4 or #3C45A5, or generate shades with modern CSS color functions like color-mix(). Always test focus states and text contrast after any adjustment. A blurple button that looks great at rest can become unreadable if its hover state is too similar in luminance.
Discord Embeds and Bot Branding
In Discord embeds, colors are usually passed as integers rather than hex strings. The current blurple #5865F2 becomes 0x5865F2, which is 5793266 in decimal. The legacy #7289DA becomes 0x7289DA, or 7506394. Libraries like Discord.js and discord.py often provide built-in helpers such as Colors.Blurple or discord.Colour.blurple().
For bot avatars, dashboards, and documentation, use blurple sparingly and consistently. A single blurple accent on a mostly neutral interface often looks more professional than a page flooded with the color. Combine it with readable typography, ample spacing, and accessible contrast to create a polished experience that respects Discord’s brand without impersonating it.
Whether you are polishing a bot’s embed, building a community dashboard, or simply trying to match Discord’s visual identity, the blurple hex code gives you a precise starting point. Keep #5865F2 for modern projects, respect the legacy #7289DA when maintaining older interfaces, and test contrast before shipping. With those details handled, your next Discord-themed design can feel both authentic and accessible from the first click.