What is hex #DC98FF 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, 60% green and 100% blue, resulting in rgb(220, 152, 255) and hsl(280, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (14%, 40%, 0%, 0%).
In the HSV/HSB scale, #DC98FF features a hue of 280°, 40% saturation, and 100% brightness.
Hex #DC98FF Color Codes & Conversions
| Closest Named Color | Bright Lilac (#D891EF) |
| Hex Code | #DC98FF |
| Hex8 (RGBA Hex) | #DC98FFFF |
| RGB (CSS) | rgb(220, 152, 255) |
| RGBA (CSS) | rgba(220, 152, 255, 1) |
| HSL (CSS) | hsl(280, 100%, 80%) |
| HSLA (CSS) | hsla(280, 100%, 80%, 1) |
| HSV / HSB | (280°, 40%, 100%) |
| CMYK Values | (14%, 40%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(78.3% 0.158 313.5) |
| CIE-LAB (D65) | 72.82, 43.16, -41.37 |
| CIE XYZ | 58.79, 44.89, 100.16 |
| Decimal / Binary |
14457087
11011100 10011000 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #DC98FF 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 #DC98FF
Sample preview of readable typography on top of #DC98FF.
Black Text on #DC98FF
Sample preview of readable typography on top of #DC98FF.
HTML / CSS Live Previews & Snippets for #DC98FF
Preview #DC98FF in real UI elements and copy ready-to-use CSS rules.
background-color: #DC98FF;
color: #DC98FF;
border: 2px solid #DC98FF;
:root {
--color-primary: #DC98FF;
--color-primary-rgb: 220, 152, 255;
--color-complementary: #BBFF98;
}
.btn-accent {
background-color: #DC98FF;
color: #000000;
}
Hex #DC98FF Color Palettes
Complementary Palette
The complementary color of #DC98FF is #BBFF98. 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 #DC98FF pairs with #A898FF and #FF98EE, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #DC98FF pairs with #98FFA8 and #EEFF98, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #DC98FF uses #98FFDC and #FFDC98, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #DC98FF combines #FFDC98, #BBFF98 and #98BBFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #DC98FF pairs with #FFA898, #BBFF98 and #98EEFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #DC98FF
Tints
Tints are created by mixing #DC98FF with white, producing lighter variations.
Tones
Tones are created by mixing #DC98FF with gray, softening saturation.
Shades
Shades result from mixing #DC98FF with black, creating deeper variations.
Hex #DC98FF in Programming & CSS Frameworks
Copy the exact syntax for #DC98FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #DC98FF |
| Tailwind CSS | bg-[#DC98FF] text-[#DC98FF] |
| Java (AWT) | new Color(220,152,255); |
| Python | Color("#DC98FF") |
| .NET (C#) | Color.FromArgb(255, 220,152,255); |
| Swift / iOS | UIColor(red: 0.86, green: 0.6, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(220, 152, 255) |