What is hex #DB97FF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 86% red, 59% green and 100% blue, resulting in rgb(219, 151, 255) and hsl(279, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (14%, 41%, 0%, 0%).
In the HSV/HSB scale, #DB97FF features a hue of 279°, 41% saturation, and 100% brightness.
Hex #DB97FF Color Codes & Conversions
| Closest Named Color | Bright Lilac (#D891EF) |
| Hex Code | #DB97FF |
| Hex8 (RGBA Hex) | #DB97FFFF |
| RGB (CSS) | rgb(219, 151, 255) |
| RGBA (CSS) | rgba(219, 151, 255, 1) |
| HSL (CSS) | hsl(279, 100%, 80%) |
| HSLA (CSS) | hsla(279, 100%, 80%, 1) |
| HSV / HSB | (279°, 41%, 100%) |
| CMYK Values | (14%, 41%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(78.1% 0.159 313.2) |
| CIE-LAB (D65) | 72.50, 43.41, -41.87 |
| CIE XYZ | 58.33, 44.41, 100.09 |
| Decimal / Binary |
14391295
11011011 10010111 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #DB97FF 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 #DB97FF
Sample preview of readable typography on top of #DB97FF.
Black Text on #DB97FF
Sample preview of readable typography on top of #DB97FF.
HTML / CSS Live Previews & Snippets for #DB97FF
Preview #DB97FF in real UI elements and copy ready-to-use CSS rules.
background-color: #DB97FF;
color: #DB97FF;
border: 2px solid #DB97FF;
:root {
--color-primary: #DB97FF;
--color-primary-rgb: 219, 151, 255;
--color-complementary: #BBFF97;
}
.btn-accent {
background-color: #DB97FF;
color: #000000;
}
Hex #DB97FF Color Palettes
Complementary Palette
The complementary color of #DB97FF is #BBFF97. 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 #DB97FF pairs with #A797FF and #FF97EF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #DB97FF pairs with #97FFA7 and #EFFF97, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #DB97FF uses #97FFDB and #FFDB97, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #DB97FF combines #FFDB97, #BBFF97 and #97BBFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #DB97FF pairs with #FFA797, #BBFF97 and #97EFFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #DB97FF
Tints
Tints are created by mixing #DB97FF with white, producing lighter variations.
Tones
Tones are created by mixing #DB97FF with gray, softening saturation.
Shades
Shades result from mixing #DB97FF with black, creating deeper variations.
Hex #DB97FF in Programming & CSS Frameworks
Copy the exact syntax for #DB97FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #DB97FF |
| Tailwind CSS | bg-[#DB97FF] text-[#DB97FF] |
| Java (AWT) | new Color(219,151,255); |
| Python | Color("#DB97FF") |
| .NET (C#) | Color.FromArgb(255, 219,151,255); |
| Swift / iOS | UIColor(red: 0.86, green: 0.59, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(219, 151, 255) |