#c840c7 hex color
In a RGB color space, hex #c840c7 is composed of 78.4% red, 25.1% green and 78% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 68% magenta, 0.5% yellow and 21.6% black. It has a hue angle of 300.4 degrees, a saturation of 55.3% and a lightness of 51.8%. #c840c7 color hex could be obtained by blending #ff80ff with #91008f. Closest websafe color is: #cc33cc.
-
- R 78
- G 25
- B 78
RGB color chart
-
- C 0
- M 68
- Y 0
- K 22
CMYK color chart
● #c840c7 color description : Moderate magenta.
The hexadecimal color #c840c7 has RGB values of R:200, G:64, B:199 and CMYK values of C:0, M:0.68, Y:0, K:0.22. Its decimal value is 13123783.
Hex triplet | c840c7 | #c840c7 |
---|---|---|
RGB Decimal | 200, 64, 199 | rgb(200,64,199) |
RGB Percent | 78.4, 25.1, 78 | rgb(78.4%,25.1%,78%) |
CMYK | 0, 68, 0, 22 | |
HSL | 300.4°, 55.3, 51.8 | hsl(300.4,55.3%,51.8%) |
HSV (or HSB) | 300.4°, 68, 78.4 | |
Web Safe | cc33cc | #cc33cc |
CIE-LAB | 51.918, 68.881, -43.149 |
---|---|
XYZ | 35.961, 20.072, 56.01 |
xyY | 0.321, 0.179, 20.072 |
CIE-LCH | 51.918, 81.28, 327.935 |
CIE-LUV | 51.918, 58.693, -74.694 |
Hunter-Lab | 44.802, 64.873, -42.762 |
Binary | 11001000, 01000000, 11000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #c840c7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #c840c7
This text has a font color of #c840c7.
<span style="color:#c840c7;">Text here</span>
#c840c7 background color
This paragraph has a background color of #c840c7.
<p style="background-color:#c840c7;">Content here</p>
#c840c7 border color
This element has a border color of #c840c7.
<div style="border:1px solid #c840c7;">Content here</div>
CSS codes
.text {color:#c840c7;}
.background {background-color:#c840c7;}
.border {border:1px solid #c840c7;}
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, #070207 is the darkest color, while #fdf7fd is the lightest one.
-
#070207
#070207
rgb(7,2,7)
-
#160616
#160616
rgb(22,6,22)
-
#250b25
#250b25
rgb(37,11,37)
-
#350f34
#350f34
rgb(53,15,52)
-
#441444
#441444
rgb(68,20,68)
-
#531853
#531853
rgb(83,24,83)
-
#621c62
#621c62
rgb(98,28,98)
-
#722171
#722171
rgb(114,33,113)
-
#812580
#812580
rgb(129,37,128)
-
#90298f
#90298f
rgb(144,41,143)
-
#9f2e9e
#9f2e9e
rgb(159,46,158)
-
#af32ae
#af32ae
rgb(175,50,174)
-
#be37bd
#be37bd
rgb(190,55,189)
Shade Color Variation
-
#c840c7
#c840c7
rgb(200,64,199)
-
#cc4fcb
#cc4fcb
rgb(204,79,203)
-
#d15ed0
#d15ed0
rgb(209,94,208)
-
#d56ed4
#d56ed4
rgb(213,110,212)
-
#da7dd9
#da7dd9
rgb(218,125,217)
-
#de8cdd
#de8cdd
rgb(222,140,221)
-
#e29be2
#e29be2
rgb(226,155,226)
-
#e7abe6
#e7abe6
rgb(231,171,230)
-
#ebbaeb
#ebbaeb
rgb(235,186,235)
-
#efc9ef
#efc9ef
rgb(239,201,239)
-
#f4d8f4
#f4d8f4
rgb(244,216,244)
-
#f8e8f8
#f8e8f8
rgb(248,232,248)
-
#fdf7fd
#fdf7fd
rgb(253,247,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #868286 is the less saturated color, while #f711f6 is the most saturated one.
-
#868286
#868286
rgb(134,130,134)
-
#8f798f
#8f798f
rgb(143,121,143)
-
#996f98
#996f98
rgb(153,111,152)
-
#a266a2
#a266a2
rgb(162,102,162)
-
#ac5cab
#ac5cab
rgb(172,92,171)
-
#b553b4
#b553b4
rgb(181,83,180)
-
#bf49be
#bf49be
rgb(191,73,190)
-
#c840c7
#c840c7
rgb(200,64,199)
-
#d137d0
#d137d0
rgb(209,55,208)
-
#db2dda
#db2dda
rgb(219,45,218)
-
#e424e3
#e424e3
rgb(228,36,227)
-
#ee1aec
#ee1aec
rgb(238,26,236)
-
#f711f6
#f711f6
rgb(247,17,246)
Tone Color Variation
Below, you can see how #c840c7 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