What is hex #CF28FF 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 81% red, 16% green and 100% blue, resulting in rgb(207, 40, 255) and hsl(287, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (19%, 84%, 0%, 0%).
In the HSV/HSB scale, #CF28FF features a hue of 287°, 84% saturation, and 100% brightness.
Hex #CF28FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #CF28FF |
| Hex8 (RGBA Hex) | #CF28FFFF |
| RGB (CSS) | rgb(207, 40, 255) |
| RGBA (CSS) | rgba(207, 40, 255, 1) |
| HSL (CSS) | hsl(287, 100%, 58%) |
| HSLA (CSS) | hsla(287, 100%, 58%, 1) |
| HSV / HSB | (287°, 84%, 100%) |
| CMYK Values | (19%, 84%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(64.3% 0.293 316.6) |
| CIE-LAB (D65) | 54.03, 86.50, -71.36 |
| CIE XYZ | 44.54, 22.00, 96.49 |
| Decimal / Binary |
13576447
11001111 00101000 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #CF28FF 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 #CF28FF
Sample preview of readable typography on top of #CF28FF.
Black Text on #CF28FF
Sample preview of readable typography on top of #CF28FF.
HTML / CSS Live Previews & Snippets for #CF28FF
Preview #CF28FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CF28FF;
color: #CF28FF;
border: 2px solid #CF28FF;
:root {
--color-primary: #CF28FF;
--color-primary-rgb: 207, 40, 255;
--color-complementary: #58FF28;
}
.btn-accent {
background-color: #CF28FF;
color: #000000;
}
Hex #CF28FF Color Palettes
Complementary Palette
The complementary color of #CF28FF is #58FF28. 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 #CF28FF pairs with #6328FF and #FF28C3, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CF28FF pairs with #28FF63 and #C3FF28, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CF28FF uses #28FFCF and #FFCF28, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CF28FF combines #FFCF28, #58FF28 and #2858FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CF28FF pairs with #FF6328, #58FF28 and #28C3FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CF28FF
Tints
Tints are created by mixing #CF28FF with white, producing lighter variations.
Tones
Tones are created by mixing #CF28FF with gray, softening saturation.
Shades
Shades result from mixing #CF28FF with black, creating deeper variations.
Hex #CF28FF in Programming & CSS Frameworks
Copy the exact syntax for #CF28FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CF28FF |
| Tailwind CSS | bg-[#CF28FF] text-[#CF28FF] |
| Java (AWT) | new Color(207,40,255); |
| Python | Color("#CF28FF") |
| .NET (C#) | Color.FromArgb(255, 207,40,255); |
| Swift / iOS | UIColor(red: 0.81, green: 0.16, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(207, 40, 255) |