#c798fa hex color
In a RGB color space, hex #c798fa is composed of 78% red, 59.6% green and 98% blue. Whereas in a CMYK color space, it is composed of 20.4% cyan, 39.2% magenta, 0% yellow and 2% black. It has a hue angle of 268.8 degrees, a saturation of 90.7% and a lightness of 78.8%. #c798fa color hex could be obtained by blending #ffffff with #8f31f5. Closest websafe color is: #cc99ff.
-
- R 78
- G 60
- B 98
RGB color chart
-
- C 20
- M 39
- Y 0
- K 2
CMYK color chart
● #c798fa color description : Very soft violet.
The hexadecimal color #c798fa has RGB values of R:199, G:152, B:250 and CMYK values of C:0.2, M:0.39, Y:0, K:0.02. Its decimal value is 13080826.
Hex triplet | c798fa | #c798fa |
---|---|---|
RGB Decimal | 199, 152, 250 | rgb(199,152,250) |
RGB Percent | 78, 59.6, 98 | rgb(78%,59.6%,98%) |
CMYK | 20, 39, 0, 2 | |
HSL | 268.8°, 90.7, 78.8 | hsl(268.8,90.7%,78.8%) |
HSV (or HSB) | 268.8°, 39.2, 98 | |
Web Safe | cc99ff | #cc99ff |
CIE-LAB | 70.526, 36.072, -42.401 |
---|---|
XYZ | 52.034, 41.501, 95.707 |
xyY | 0.275, 0.219, 41.501 |
CIE-LCH | 70.526, 55.669, 310.389 |
CIE-LUV | 70.526, 17.045, -73.291 |
Hunter-Lab | 64.421, 31.439, -42.988 |
Binary | 11000111, 10011000, 11111010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #c798fa. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #c798fa
This text has a font color of #c798fa.
<span style="color:#c798fa;">Text here</span>
#c798fa background color
This paragraph has a background color of #c798fa.
<p style="background-color:#c798fa;">Content here</p>
#c798fa border color
This element has a border color of #c798fa.
<div style="border:1px solid #c798fa;">Content here</div>
CSS codes
.text {color:#c798fa;}
.background {background-color:#c798fa;}
.border {border:1px solid #c798fa;}
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, #050009 is the darkest color, while #faf6ff is the lightest one.
-
#050009
#050009
rgb(5,0,9)
-
#0e011c
#0e011c
rgb(14,1,28)
-
#18022f
#18022f
rgb(24,2,47)
-
#210341
#210341
rgb(33,3,65)
-
#2a0454
#2a0454
rgb(42,4,84)
-
#340567
#340567
rgb(52,5,103)
-
#3d0679
#3d0679
rgb(61,6,121)
-
#47078c
#47078c
rgb(71,7,140)
-
#50089f
#50089f
rgb(80,8,159)
-
#5a09b2
#5a09b2
rgb(90,9,178)
-
#630ac4
#630ac4
rgb(99,10,196)
-
#6d0ad7
#6d0ad7
rgb(109,10,215)
-
#760bea
#760bea
rgb(118,11,234)
Shade Color Variation
-
#8015f4
#8015f4
rgb(128,21,244)
-
#8a28f5
#8a28f5
rgb(138,40,245)
-
#943af5
#943af5
rgb(148,58,245)
-
#9e4df6
#9e4df6
rgb(158,77,246)
-
#a860f7
#a860f7
rgb(168,96,247)
-
#b373f8
#b373f8
rgb(179,115,248)
-
#bd85f9
#bd85f9
rgb(189,133,249)
-
#c798fa
#c798fa
rgb(199,152,250)
-
#d1abfb
#d1abfb
rgb(209,171,251)
-
#dbbdfc
#dbbdfc
rgb(219,189,252)
-
#e6d0fd
#e6d0fd
rgb(230,208,253)
-
#f0e3fe
#f0e3fe
rgb(240,227,254)
-
#faf6ff
#faf6ff
rgb(250,246,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #c9c6cc is the less saturated color, while #c794fe is the most saturated one.
-
#c9c6cc
#c9c6cc
rgb(201,198,204)
-
#c9c2d0
#c9c2d0
rgb(201,194,208)
-
#c9bdd5
#c9bdd5
rgb(201,189,213)
-
#c8b9d9
#c8b9d9
rgb(200,185,217)
-
#c8b5dd
#c8b5dd
rgb(200,181,221)
-
#c8b1e1
#c8b1e1
rgb(200,177,225)
-
#c8ade5
#c8ade5
rgb(200,173,229)
-
#c8a9e9
#c8a9e9
rgb(200,169,233)
-
#c8a4ee
#c8a4ee
rgb(200,164,238)
-
#c7a0f2
#c7a0f2
rgb(199,160,242)
-
#c79cf6
#c79cf6
rgb(199,156,246)
-
#c798fa
#c798fa
rgb(199,152,250)
-
#c794fe
#c794fe
rgb(199,148,254)
Tone Color Variation
Below, you can see how #c798fa 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