#ba7afb hex color
In a RGB color space, hex #ba7afb is composed of 72.9% red, 47.8% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 25.9% cyan, 51.4% magenta, 0% yellow and 1.6% black. It has a hue angle of 269.8 degrees, a saturation of 94.2% and a lightness of 73.1%. #ba7afb color hex could be obtained by blending #fff4ff with #7500f7. Closest websafe color is: #cc66ff.
-
- R 73
- G 48
- B 98
RGB color chart
-
- C 26
- M 51
- Y 0
- K 2
CMYK color chart
● #ba7afb color description : Soft violet.
The hexadecimal color #ba7afb has RGB values of R:186, G:122, B:251 and CMYK values of C:0.26, M:0.51, Y:0, K:0.02. Its decimal value is 12221179.
Hex triplet | ba7afb | #ba7afb |
---|---|---|
RGB Decimal | 186, 122, 251 | rgb(186,122,251) |
RGB Percent | 72.9, 47.8, 98.4 | rgb(72.9%,47.8%,98.4%) |
CMYK | 26, 51, 0, 2 | |
HSL | 269.8°, 94.2, 73.1 | hsl(269.8,94.2%,73.1%) |
HSV (or HSB) | 269.8°, 51.4, 98.4 | |
Web Safe | cc66ff | #cc66ff |
CIE-LAB | 62.78, 49.026, -55.254 |
---|---|
XYZ | 44.619, 31.324, 94.957 |
xyY | 0.261, 0.183, 31.324 |
CIE-LCH | 62.78, 73.869, 311.582 |
CIE-LUV | 62.78, 20.761, -94.391 |
Hunter-Lab | 55.968, 44.362, -61.417 |
Binary | 10111010, 01111010, 11111011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba7afb. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba7afb
This text has a font color of #ba7afb.
<span style="color:#ba7afb;">Text here</span>
#ba7afb background color
This paragraph has a background color of #ba7afb.
<p style="background-color:#ba7afb;">Content here</p>
#ba7afb border color
This element has a border color of #ba7afb.
<div style="border:1px solid #ba7afb;">Content here</div>
CSS codes
.text {color:#ba7afb;}
.background {background-color:#ba7afb;}
.border {border:1px solid #ba7afb;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000000 is the darkest color, while #f5ecfe is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#0a0113
#0a0113
rgb(10,1,19)
-
#140126
#140126
rgb(20,1,38)
-
#1d0239
#1d0239
rgb(29,2,57)
-
#27024c
#27024c
rgb(39,2,76)
-
#310360
#310360
rgb(49,3,96)
-
#3b0373
#3b0373
rgb(59,3,115)
-
#440486
#440486
rgb(68,4,134)
-
#4e0599
#4e0599
rgb(78,5,153)
-
#5805ac
#5805ac
rgb(88,5,172)
-
#6206bf
#6206bf
rgb(98,6,191)
-
#6b06d2
#6b06d2
rgb(107,6,210)
-
#7507e5
#7507e5
rgb(117,7,229)
Shade Color Variation
-
#7f08f8
#7f08f8
rgb(127,8,248)
-
#891bf8
#891bf8
rgb(137,27,248)
-
#922ef9
#922ef9
rgb(146,46,249)
-
#9c41f9
#9c41f9
rgb(156,65,249)
-
#a654fa
#a654fa
rgb(166,84,250)
-
#b067fa
#b067fa
rgb(176,103,250)
-
#ba7afb
#ba7afb
rgb(186,122,251)
-
#c48dfc
#c48dfc
rgb(196,141,252)
-
#cea0fc
#cea0fc
rgb(206,160,252)
-
#d8b3fd
#d8b3fd
rgb(216,179,253)
-
#e2c6fd
#e2c6fd
rgb(226,198,253)
-
#ebd9fe
#ebd9fe
rgb(235,217,254)
-
#f5ecfe
#f5ecfe
rgb(245,236,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #bab9bc is the less saturated color, while #ba7afb is the most saturated one.
-
#bab9bc
#bab9bc
rgb(186,185,188)
-
#bab4c1
#bab4c1
rgb(186,180,193)
-
#baafc6
#baafc6
rgb(186,175,198)
-
#baa9cc
#baa9cc
rgb(186,169,204)
-
#baa4d1
#baa4d1
rgb(186,164,209)
-
#ba9fd6
#ba9fd6
rgb(186,159,214)
-
#ba9adb
#ba9adb
rgb(186,154,219)
-
#ba94e1
#ba94e1
rgb(186,148,225)
-
#ba8fe6
#ba8fe6
rgb(186,143,230)
-
#ba8aeb
#ba8aeb
rgb(186,138,235)
-
#ba85f0
#ba85f0
rgb(186,133,240)
-
#ba7ff6
#ba7ff6
rgb(186,127,246)
-
#ba7afb
#ba7afb
rgb(186,122,251)
Tone Color Variation
Below, you can see how #ba7afb is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy