Color: #C798CC
#C798CC Color Information
#C798CC is a light color. The closest websafe version is #C798CC. A complement of this color would be #9ECD98, perceived brightness is 0.67, and the grayscale version is #B2B2B2.
In the HSL color space, this color has a hue angle of 294°,a saturation of 34%, and a lightness of 70%.The HSV representation shows a hue of 294°, a saturation of 25%, and a value of 80%.
In a RGB color space, #C798CC is composed of 78% red, 60% green and 80% blue. Whereas in a CMYK color space, it is composed of 2% cyan, 25% magenta, 0% yellow and 20% black.
In the Yxy color space, this color is represented as Y: 38.88, x: 0.3471, and y: 0.2957.
Color Code #C798CC
Shades of Color #C798CC
Shades are created by darkening the original color #C798CC in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #C798CC
Tints are created by lightening the original color #C798CC in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #C798CC Color Code
In the HSL color space, this color has a hue angle of 294°, a saturation of 34%, and a lightness of 70%. The HSV representation shows a hue of 294°, a saturation of 25%, and a value of 80%.
- HEX: #C798CC
- RGB: rgb(199, 152, 204)
- HSL: hsl(294, 34%, 70%)
- HSV: hsv(294, 25%, 80%)
- CMYK: 2.00% cyan, 25.00% magenta, 0.00% yellow, 20.00% black
- XYZ: 45.64, 38.88, 46.97
- Yxy: 38.88, 0.3471, 0.2957
- Hunter Lab: 68.66, 24.73, -19.78
- CIE-Lab: 68.66, 24.73, -19.78
In the XYZ color space, this color is represented as X: 45.64, Y: 38.88, Z: 46.97. The Yxy representation further refines this as Y: 38.88, x: 0.3471, and y: 0.2957.
In the Hunter Lab color space, this color is represented as L: 68.66, a: 24.73, and b: -19.78. Similarly, in the CIE-Lab color space, it is represented as L: 68.66, a: 24.73, and b: -19.78.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #C798CC
Triadic colors are three colors evenly spaced around the color wheel, including #C798CC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #C798CC
Monochromatic colors are variations of #C798CC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #C798CC
The complementary color of #C798CC is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #C798CC
/* Using HEX */ body { background-color: #c798cc; }
/* Using RGB */ body { background-color: rgb(199, 152, 204); }
/* Using RGB with opacity */ body { background-color: rgba(199, 152, 204, 0.5); }
/* Using HSL */ body { background-color: hsl(294, 34%, 70%); }
/* Text color */ p { color: #c798cc; }
/* Box shadow */ div { box-shadow: 4px 4px #c798cc; }
/* Border color */ .box { border: 4px solid #c798cc; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #c798cc; }
/* Background with text */ div { background: #c798cc; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #C798CC
<!-- Using HEX --> <div style="background-color: #c798cc; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(199, 152, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(199, 152, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(294, 34%, 70%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #c798cc;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #c798cc; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #c798cc; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #c798cc;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #c798cc; color: #fff; padding: 16px; border-radius: 8px;"> #C798CC </div>
Related Colors of #C798CC
These colors are similar to #C798CC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.