Color: #8A2BE2
#8A2BE2 Color Information
#8A2BE2 is a dark color. The closest websafe version is #8A2BE2. A complement of this color would be #84E22C, perceived brightness is 0.36, and the grayscale version is #878787.
In the HSL color space, this color has a hue angle of 271°,a saturation of 76%, and a lightness of 53%.The HSV representation shows a hue of 271°, a saturation of 100%, and a value of 100%.
In a RGB color space, #8A2BE2 is composed of 54% red, 17% green and 89% blue. Whereas in a CMYK color space, it is composed of 39% cyan, 81% magenta, 0% yellow and 11% black.
In the Yxy color space, this color is represented as Y: 12.00, x: 0.2549, and y: 0.1336.
Color Code #8A2BE2
Shades of Color #8A2BE2
Shades are created by darkening the original color #8A2BE2 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 #8A2BE2
Tints are created by lightening the original color #8A2BE2 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 #8A2BE2 Color Code
In the HSL color space, this color has a hue angle of 271°, a saturation of 76%, and a lightness of 53%. The HSV representation shows a hue of 271°, a saturation of 81%, and a value of 89%.
- HEX: #8A2BE2
- RGB: rgb(138, 43, 226)
- HSL: hsl(271, 76%, 53%)
- HSV: hsv(271, 81%, 89%)
- CMYK: 39.00% cyan, 81.00% magenta, 0.00% yellow, 11.00% black
- XYZ: 22.89, 12.00, 54.90
- Yxy: 12.00, 0.2549, 0.1336
- Hunter Lab: 41.21, 63.02, -75.96
- CIE-Lab: 41.21, 63.02, -75.96
In the XYZ color space, this color is represented as X: 22.89, Y: 12.00, Z: 54.90. The Yxy representation further refines this as Y: 12.00, x: 0.2549, and y: 0.1336.
In the Hunter Lab color space, this color is represented as L: 41.21, a: 63.02, and b: -75.96. Similarly, in the CIE-Lab color space, it is represented as L: 41.21, a: 63.02, and b: -75.96.
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 #8A2BE2
Triadic colors are three colors evenly spaced around the color wheel, including #8A2BE2. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #8A2BE2
Monochromatic colors are variations of #8A2BE2, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #8A2BE2
The complementary color of #8A2BE2 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 #8A2BE2
/* Using HEX */ body { background-color: #8a2be2; }
/* Using RGB */ body { background-color: rgb(138, 43, 226); }
/* Using RGB with opacity */ body { background-color: rgba(138, 43, 226, 0.5); }
/* Using HSL */ body { background-color: hsl(271, 76%, 53%); }
/* Text color */ p { color: #8a2be2; }
/* Box shadow */ div { box-shadow: 4px 4px #8a2be2; }
HTML Examples of #8A2BE2
<!-- Using HEX --> <div style="background-color: #8a2be2; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(138, 43, 226); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(138, 43, 226, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(271, 76%, 53%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #8a2be2;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #8a2be2; width: 100px; height: 100px;"></div>
Related Colors of #8A2BE2
These colors are similar to #8A2BE2, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.