What is hex #D792FF 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 84% red, 57% green and 100% blue, resulting in rgb(215, 146, 255) and hsl(278, 100%, 79%).
For print media and manufacturing layout, the CMYK equivalent is (16%, 43%, 0%, 0%).
In the HSV/HSB scale, #D792FF features a hue of 278°, 43% saturation, and 100% brightness.
Hex #D792FF Color Codes & Conversions
| Closest Named Color | Bright Lilac (#D891EF) |
| Hex Code | #D792FF |
| Hex8 (RGBA Hex) | #D792FFFF |
| RGB (CSS) | rgb(215, 146, 255) |
| RGBA (CSS) | rgba(215, 146, 255, 1) |
| HSL (CSS) | hsl(278, 100%, 79%) |
| HSLA (CSS) | hsla(278, 100%, 79%, 1) |
| HSV / HSB | (278°, 43%, 100%) |
| CMYK Values | (16%, 43%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(76.9% 0.165 312.2) |
| CIE-LAB (D65) | 71.03, 44.92, -44.21 |
| CIE XYZ | 56.35, 42.23, 99.77 |
| Decimal / Binary |
14127871
11010111 10010010 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC99FF |
| Inverse Color | #286D00 |
| Complementary Color | #BAFF92 |
| Closest Pantone® | Pantone 251 C |
| Closest RAL | RAL 3015 [Light pink] |
#D792FF Grayscale Equivalents
| Average | #CDCDCD |
| Lightness (Desaturation) | #C9C9C9 |
| Weighted (BT601) | #B3B3B3 |
| Luma (BT709) | #A9A9A9 [Dark Medium Gray] |
WCAG 2.1 Color Contrast & Accessibility
Check how #D792FF 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 #D792FF
Sample preview of readable typography on top of #D792FF.
Black Text on #D792FF
Sample preview of readable typography on top of #D792FF.
HTML / CSS Live Previews & Snippets for #D792FF
Preview #D792FF in real UI elements and copy ready-to-use CSS rules.
background-color: #D792FF;
color: #D792FF;
border: 2px solid #D792FF;
:root {
--color-primary: #D792FF;
--color-primary-rgb: 215, 146, 255;
--color-complementary: #BAFF92;
}
.btn-accent {
background-color: #D792FF;
color: #000000;
}
Hex #D792FF Color Palettes
Complementary Palette
The complementary color of #D792FF is #BAFF92. 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 #D792FF pairs with #A092FF and #FF92F0, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D792FF pairs with #92FFA0 and #F0FF92, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D792FF uses #92FFD7 and #FFD792, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D792FF combines #FFD792, #BAFF92 and #92BAFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D792FF pairs with #FFA092, #BAFF92 and #92F0FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D792FF
Tints
Tints are created by mixing #D792FF with white, producing lighter variations.
Tones
Tones are created by mixing #D792FF with gray, softening saturation.
Shades
Shades result from mixing #D792FF with black, creating deeper variations.
Hex #D792FF in Programming & CSS Frameworks
Copy the exact syntax for #D792FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D792FF |
| Tailwind CSS | bg-[#D792FF] text-[#D792FF] |
| Java (AWT) | new Color(215,146,255); |
| Python | Color("#D792FF") |
| .NET (C#) | Color.FromArgb(255, 215,146,255); |
| Swift / iOS | UIColor(red: 0.84, green: 0.57, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(215, 146, 255) |