What is hex #C28CBA 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 76% red, 55% green and 73% blue, resulting in rgb(194, 140, 186) and hsl(309, 31%, 65%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 28%, 4%, 24%).
In the HSV/HSB scale, #C28CBA features a hue of 309°, 28% saturation, and 76% brightness.
Hex #C28CBA Color Codes & Conversions
| Closest Named Color | African Violet (#B284BE) |
| Hex Code | #C28CBA |
| Hex8 (RGBA Hex) | #C28CBAFF |
| RGB (CSS) | rgb(194, 140, 186) |
| RGBA (CSS) | rgba(194, 140, 186, 1) |
| HSL (CSS) | hsl(309, 31%, 65%) |
| HSLA (CSS) | hsla(309, 31%, 65%, 1) |
| HSV / HSB | (309°, 28%, 76%) |
| CMYK Values | (0%, 28%, 4%, 24%) |
| OKLCH (Modern CSS) | oklch(70.7% 0.090 331.7) |
| CIE-LAB (D65) | 64.78, 28.02, -15.87 |
| CIE XYZ | 40.49, 33.77, 50.83 |
| Decimal / Binary |
12750010
11000010 10001100 10111010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #C28CBA 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 #C28CBA
Sample preview of readable typography on top of #C28CBA.
Black Text on #C28CBA
Sample preview of readable typography on top of #C28CBA.
HTML / CSS Live Previews & Snippets for #C28CBA
Preview #C28CBA in real UI elements and copy ready-to-use CSS rules.
background-color: #C28CBA;
color: #C28CBA;
border: 2px solid #C28CBA;
:root {
--color-primary: #C28CBA;
--color-primary-rgb: 194, 140, 186;
--color-complementary: #8CC294;
}
.btn-accent {
background-color: #C28CBA;
color: #000000;
}
Hex #C28CBA Color Palettes
Complementary Palette
The complementary color of #C28CBA is #8CC294. 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 #C28CBA pairs with #AF8CC2 and #C28C9F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #C28CBA pairs with #8CC2AF and #9FC28C, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #C28CBA uses #8CBAC2 and #BAC28C, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #C28CBA combines #BAC28C, #8CC294 and #948CC2 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #C28CBA pairs with #C2AF8C, #8CC294 and #8C9FC2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #C28CBA
Tints
Tints are created by mixing #C28CBA with white, producing lighter variations.
Tones
Tones are created by mixing #C28CBA with gray, softening saturation.
Shades
Shades result from mixing #C28CBA with black, creating deeper variations.
Hex #C28CBA in Programming & CSS Frameworks
Copy the exact syntax for #C28CBA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #C28CBA |
| Tailwind CSS | bg-[#C28CBA] text-[#C28CBA] |
| Java (AWT) | new Color(194,140,186); |
| Python | Color("#C28CBA") |
| .NET (C#) | Color.FromArgb(255, 194,140,186); |
| Swift / iOS | UIColor(red: 0.76, green: 0.55, blue: 0.73, alpha: 1) |
| Kotlin / Android | Color.rgb(194, 140, 186) |