What is hex #D142FF 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 82% red, 26% green and 100% blue, resulting in rgb(209, 66, 255) and hsl(285, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (18%, 74%, 0%, 0%).
In the HSV/HSB scale, #D142FF features a hue of 285°, 74% saturation, and 100% brightness.
Hex #D142FF Color Codes & Conversions
| Closest Named Color | Medium Orchid (#BA55D3) |
| Hex Code | #D142FF |
| Hex8 (RGBA Hex) | #D142FFFF |
| RGB (CSS) | rgb(209, 66, 255) |
| RGBA (CSS) | rgba(209, 66, 255, 1) |
| HSL (CSS) | hsl(285, 100%, 63%) |
| HSLA (CSS) | hsla(285, 100%, 63%, 1) |
| HSV / HSB | (285°, 74%, 100%) |
| CMYK Values | (18%, 74%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(66.3% 0.273 316.3) |
| CIE-LAB (D65) | 56.76, 79.78, -66.94 |
| CIE XYZ | 46.29, 24.67, 96.91 |
| Decimal / Binary |
13714175
11010001 01000010 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #2EBD00 |
| Complementary Color | #70FF42 |
| Closest Pantone® | Pantone 2385 C |
| Closest RAL | RAL 4003 [Heather violet] |
#D142FF Grayscale Equivalents
| Average | #B1B1B1 |
| Lightness (Desaturation) | #A1A1A1 |
| Weighted (BT601) | #828282 |
| Luma (BT709) | #6E6E6E |
WCAG 2.1 Color Contrast & Accessibility
Check how #D142FF 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 #D142FF
Sample preview of readable typography on top of #D142FF.
Black Text on #D142FF
Sample preview of readable typography on top of #D142FF.
HTML / CSS Live Previews & Snippets for #D142FF
Preview #D142FF in real UI elements and copy ready-to-use CSS rules.
background-color: #D142FF;
color: #D142FF;
border: 2px solid #D142FF;
:root {
--color-primary: #D142FF;
--color-primary-rgb: 209, 66, 255;
--color-complementary: #70FF42;
}
.btn-accent {
background-color: #D142FF;
color: #000000;
}
Hex #D142FF Color Palettes
Complementary Palette
The complementary color of #D142FF is #70FF42. 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 #D142FF pairs with #7242FF and #FF42CE, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D142FF pairs with #42FF72 and #CEFF42, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D142FF uses #42FFD1 and #FFD142, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D142FF combines #FFD142, #70FF42 and #4270FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D142FF pairs with #FF7242, #70FF42 and #42CEFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D142FF
Tints
Tints are created by mixing #D142FF with white, producing lighter variations.
Tones
Tones are created by mixing #D142FF with gray, softening saturation.
Shades
Shades result from mixing #D142FF with black, creating deeper variations.
Hex #D142FF in Programming & CSS Frameworks
Copy the exact syntax for #D142FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D142FF |
| Tailwind CSS | bg-[#D142FF] text-[#D142FF] |
| Java (AWT) | new Color(209,66,255); |
| Python | Color("#D142FF") |
| .NET (C#) | Color.FromArgb(255, 209,66,255); |
| Swift / iOS | UIColor(red: 0.82, green: 0.26, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(209, 66, 255) |