#ba7afc Hex Color
rgb(186, 122, 252)
Color Information
| Name | First value | Second Value | Third Value | Fourth Value | Written As |
|---|---|---|---|---|---|
| HEX | ba | 7a | fc | - | #ba7afc |
| RGB | 186 | 122 | 252 | - | rgb(186,122,252) |
| HSL | 270 | 96% | 73% | - | hsl(270,96%,73%) |
| HSV | 270 | 52% | 99% | - | hsv(270,52%,99%) |
| XYZ | 44.7799 | 31.3864 | 95.7935 | - | xyz(44.7799,31.3864,95.7935) |
| CIE-LAB | 62.83 | 49.27 | -55.72 | - | lab(62.83,49.27,-55.72) |
| CMYK | 0.26190476190476 | 0.51587301587302 | 0 | 0.011764705882353 | cmyk(0.26190476190476,0.51587301587302,0,0.011764705882353) |
Description
The RGB value of color #ba7afc is rgb(186, 122, 252).
In the hex color #ba7afc, The value of Red is 186, value of Green is 122, and value of Blue is 252. The primary color is Blue. Similarly, The HSL values for #ba7afc consists of 270° Hue, 96% Saturation, and 73% Lightness.
In the CMYK color model, the color #ba7afc can be represented as Cyan=0.26190476190476%, Magenta=0.51587301587302%, Yellow=0%, and Black=0.011764705882353%.
Shades of #ba7afc
Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.
Tints of #ba7afc
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #ba7afc
Preview of #ba7afc on White Background
The contrast ratio of #ba7afc with white color is 2.89
Preview of #ba7afc on black background
The contrast ratio of #ba7afc with black color is 7.28
#ba7afc color will look good with a black background.
Color Schemes of #ba7afc
Triadic Colors of #ba7afc
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #ba7afc
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Triadic Colors of #ba7afc
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #ba7afc
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #ba7afc;
}
This is a sample text used for the color #ba7afc. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css background color of a box using:
.box{
background-color: #ba7afc;
}
This is a sample text used for the color #ba7afc. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css border of a box using:
.box{
border:4px solid #ba7afc;
}
This is a sample text used for the color #ba7afc. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
RGB Percentage
Red 33.21%
Green 21.79%
Blue 45%
CMYK Percentage
Cyan 33.17
Magenta 65.34%
Yellow 0%
Black 1.49%
Comments on this color
Please login or signup to post a comment.
No comments yet.