#9840c0 hex color
In a RGB color space, hex #9840c0 is composed of 59.6% red, 25.1% green and 75.3% blue. Whereas in a CMYK color space, it is composed of 20.8% cyan, 66.7% magenta, 0% yellow and 24.7% black. It has a hue angle of 281.3 degrees, a saturation of 50.4% and a lightness of 50.2%. #9840c0 color hex could be obtained by blending #ff80ff with #310081. Closest websafe color is: #9933cc.
-
- R 60
- G 25
- B 75
RGB color chart
-
- C 21
- M 67
- Y 0
- K 25
CMYK color chart
● #9840c0 color description : Moderate violet.
The hexadecimal color #9840c0 has RGB values of R:152, G:64, B:192 and CMYK values of C:0.21, M:0.67, Y:0, K:0.25. Its decimal value is 9978048.
Hex triplet | 9840c0 | #9840c0 |
---|---|---|
RGB Decimal | 152, 64, 192 | rgb(152,64,192) |
RGB Percent | 59.6, 25.1, 75.3 | rgb(59.6%,25.1%,75.3%) |
CMYK | 21, 67, 0, 25 | |
HSL | 281.3°, 50.4, 50.2 | hsl(281.3,50.4%,50.2%) |
HSV (or HSB) | 281.3°, 66.7, 75.3 | |
Web Safe | 9933cc | #9933cc |
CIE-LAB | 44.446, 56.78, -51.427 |
---|---|
XYZ | 24.295, 14.149, 51.317 |
xyY | 0.271, 0.158, 14.149 |
CIE-LCH | 44.446, 76.608, 317.832 |
CIE-LUV | 44.446, 29.49, -82.178 |
Hunter-Lab | 37.615, 49.467, -54.558 |
Binary | 10011000, 01000000, 11000000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #9840c0. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #9840c0
This text has a font color of #9840c0.
<span style="color:#9840c0;">Text here</span>
#9840c0 background color
This paragraph has a background color of #9840c0.
<p style="background-color:#9840c0;">Content here</p>
#9840c0 border color
This element has a border color of #9840c0.
<div style="border:1px solid #9840c0;">Content here</div>
CSS codes
.text {color:#9840c0;}
.background {background-color:#9840c0;}
.border {border:1px solid #9840c0;}
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, #010001 is the darkest color, while #f7f1fa is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0c0510
#0c0510
rgb(12,5,16)
-
#180a1e
#180a1e
rgb(24,10,30)
-
#240f2d
#240f2d
rgb(36,15,45)
-
#2f143c
#2f143c
rgb(47,20,60)
-
#3b194b
#3b194b
rgb(59,25,75)
-
#471d59
#471d59
rgb(71,29,89)
-
#522268
#522268
rgb(82,34,104)
-
#5e2777
#5e2777
rgb(94,39,119)
-
#6a2c86
#6a2c86
rgb(106,44,134)
-
#753194
#753194
rgb(117,49,148)
-
#8136a3
#8136a3
rgb(129,54,163)
-
#8d3bb2
#8d3bb2
rgb(141,59,178)
Shade Color Variation
-
#9840c0
#9840c0
rgb(152,64,192)
-
#a04fc5
#a04fc5
rgb(160,79,197)
-
#a85eca
#a85eca
rgb(168,94,202)
-
#b06ccf
#b06ccf
rgb(176,108,207)
-
#b87bd3
#b87bd3
rgb(184,123,211)
-
#c08ad8
#c08ad8
rgb(192,138,216)
-
#c899dd
#c899dd
rgb(200,153,221)
-
#d0a7e2
#d0a7e2
rgb(208,167,226)
-
#d8b6e7
#d8b6e7
rgb(216,182,231)
-
#e0c5ec
#e0c5ec
rgb(224,197,236)
-
#e8d4f1
#e8d4f1
rgb(232,212,241)
-
#efe2f6
#efe2f6
rgb(239,226,246)
-
#f7f1fa
#f7f1fa
rgb(247,241,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #827b85 is the less saturated color, while #ae05fb is the most saturated one.
-
#827b85
#827b85
rgb(130,123,133)
-
#86718f
#86718f
rgb(134,113,143)
-
#896799
#896799
rgb(137,103,153)
-
#8d5da3
#8d5da3
rgb(141,93,163)
-
#9154ac
#9154ac
rgb(145,84,172)
-
#944ab6
#944ab6
rgb(148,74,182)
-
#9840c0
#9840c0
rgb(152,64,192)
-
#9c36ca
#9c36ca
rgb(156,54,202)
-
#9f2cd4
#9f2cd4
rgb(159,44,212)
-
#a323dd
#a323dd
rgb(163,35,221)
-
#a719e7
#a719e7
rgb(167,25,231)
-
#aa0ff1
#aa0ff1
rgb(170,15,241)
-
#ae05fb
#ae05fb
rgb(174,5,251)
Tone Color Variation
Below, you can see how #9840c0 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