What is hex #682DFF color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 41% red, 18% green and 100% blue, resulting in rgb(104, 45, 255) and hsl(257, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (59%, 82%, 0%, 0%).
In the HSV/HSB scale, #682DFF features a hue of 257°, 82% saturation, and 100% brightness.
Hex #682DFF Color Codes & Conversions
| Closest Named Color | Blue Violet (#8A2BE2) |
| Hex Code | #682DFF |
| Hex8 (RGBA Hex) | #682DFFFF |
| RGB (CSS) | rgb(104, 45, 255) |
| RGBA (CSS) | rgba(104, 45, 255, 1) |
| HSL (CSS) | hsl(257, 100%, 59%) |
| HSLA (CSS) | hsla(257, 100%, 59%, 1) |
| HSV / HSB | (257°, 82%, 100%) |
| CMYK Values | (59%, 82%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(52.7% 0.276 284.6) |
| CIE-LAB (D65) | 41.28, 72.15, -92.77 |
| CIE XYZ | 24.69, 12.04, 95.61 |
| Decimal / Binary |
6827519
01101000 00101101 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #682DFF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #682DFF
Sample preview of readable typography on top of #682DFF.
Black Text on #682DFF
Sample preview of readable typography on top of #682DFF.
HTML / CSS Live Previews & Snippets for #682DFF
Preview #682DFF in real UI elements and copy ready-to-use CSS rules.
background-color: #682DFF;
color: #682DFF;
border: 2px solid #682DFF;
:root {
--color-primary: #682DFF;
--color-primary-rgb: 104, 45, 255;
--color-complementary: #C4FF2D;
}
.btn-accent {
background-color: #682DFF;
color: #ffffff;
}
Hex #682DFF Color Palettes
Complementary Palette
The complementary color of #682DFF is #C4FF2D. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #682DFF pairs with #2D5BFF and #D12DFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #682DFF pairs with #5BFF2D and #FFD12D, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #682DFF uses #2DFF68 and #FF682D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #682DFF combines #FF682D, #C4FF2D and #2DC4FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #682DFF pairs with #FF2D5B, #C4FF2D and #2DFFD1 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #682DFF
Tints
Tints are created by mixing #682DFF with white, producing lighter variations.
Tones
Tones are created by mixing #682DFF with gray, softening saturation.
Shades
Shades result from mixing #682DFF with black, creating deeper variations.
Hex #682DFF in Programming & CSS Frameworks
Copy the exact syntax for #682DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #682DFF |
| Tailwind CSS | bg-[#682DFF] text-[#682DFF] |
| Java (AWT) | new Color(104,45,255); |
| Python | Color("#682DFF") |
| .NET (C#) | Color.FromArgb(255, 104,45,255); |
| Swift / iOS | UIColor(red: 0.41, green: 0.18, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(104, 45, 255) |