#7f5a98 hex color
In a RGB color space, hex #7f5a98 is composed of 49.8% red, 35.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 16.4% cyan, 40.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 275.8 degrees, a saturation of 25.6% and a lightness of 47.5%. #7f5a98 color hex could be obtained by blending #feb4ff with #000031. Closest websafe color is: #666699.
-
- R 50
- G 35
- B 60
RGB color chart
-
- C 16
- M 41
- Y 0
- K 40
CMYK color chart
● #7f5a98 color description : Mostly desaturated dark violet.
The hexadecimal color #7f5a98 has RGB values of R:127, G:90, B:152 and CMYK values of C:0.16, M:0.41, Y:0, K:0.4. Its decimal value is 8346264.
Hex triplet | 7f5a98 | #7f5a98 |
---|---|---|
RGB Decimal | 127, 90, 152 | rgb(127,90,152) |
RGB Percent | 49.8, 35.3, 59.6 | rgb(49.8%,35.3%,59.6%) |
CMYK | 16, 41, 0, 40 | |
HSL | 275.8°, 25.6, 47.5 | hsl(275.8,25.6%,47.5%) |
HSV (or HSB) | 275.8°, 40.8, 59.6 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 44.364, 27.341, -28.16 |
---|---|
XYZ | 18.075, 14.092, 31.472 |
xyY | 0.284, 0.221, 14.092 |
CIE-LCH | 44.364, 39.25, 314.155 |
CIE-LUV | 44.364, 14.651, -44.258 |
Hunter-Lab | 37.539, 20.256, -23.43 |
Binary | 01111111, 01011010, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f5a98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f5a98
This text has a font color of #7f5a98.
<span style="color:#7f5a98;">Text here</span>
#7f5a98 background color
This paragraph has a background color of #7f5a98.
<p style="background-color:#7f5a98;">Content here</p>
#7f5a98 border color
This element has a border color of #7f5a98.
<div style="border:1px solid #7f5a98;">Content here</div>
CSS codes
.text {color:#7f5a98;}
.background {background-color:#7f5a98;}
.border {border:1px solid #7f5a98;}
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, #030204 is the darkest color, while #f9f7fa is the lightest one.
-
#030204
#030204
rgb(3,2,4)
-
#0e0a10
#0e0a10
rgb(14,10,16)
-
#18111d
#18111d
rgb(24,17,29)
-
#221829
#221829
rgb(34,24,41)
-
#2d2035
#2d2035
rgb(45,32,53)
-
#372742
#372742
rgb(55,39,66)
-
#412e4e
#412e4e
rgb(65,46,78)
-
#4c365a
#4c365a
rgb(76,54,90)
-
#563d67
#563d67
rgb(86,61,103)
-
#604473
#604473
rgb(96,68,115)
-
#6a4b7f
#6a4b7f
rgb(106,75,127)
-
#75538c
#75538c
rgb(117,83,140)
-
#7f5a98
#7f5a98
rgb(127,90,152)
Shade Color Variation
-
#8963a3
#8963a3
rgb(137,99,163)
-
#926faa
#926faa
rgb(146,111,170)
-
#9c7cb1
#9c7cb1
rgb(156,124,177)
-
#a588b9
#a588b9
rgb(165,136,185)
-
#ae94c0
#ae94c0
rgb(174,148,192)
-
#b8a1c7
#b8a1c7
rgb(184,161,199)
-
#c1adce
#c1adce
rgb(193,173,206)
-
#cab9d6
#cab9d6
rgb(202,185,214)
-
#d4c6dd
#d4c6dd
rgb(212,198,221)
-
#ddd2e4
#ddd2e4
rgb(221,210,228)
-
#e6deec
#e6deec
rgb(230,222,236)
-
#f0ebf3
#f0ebf3
rgb(240,235,243)
-
#f9f7fa
#f9f7fa
rgb(249,247,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7a767c is the less saturated color, while #8f06ec is the most saturated one.
-
#7a767c
#7a767c
rgb(122,118,124)
-
#7b6d85
#7b6d85
rgb(123,109,133)
-
#7d638f
#7d638f
rgb(125,99,143)
-
#7f5a98
#7f5a98
rgb(127,90,152)
-
#8151a1
#8151a1
rgb(129,81,161)
-
#8347ab
#8347ab
rgb(131,71,171)
-
#843eb4
#843eb4
rgb(132,62,180)
-
#8635bd
#8635bd
rgb(134,53,189)
-
#882bc7
#882bc7
rgb(136,43,199)
-
#8a22d0
#8a22d0
rgb(138,34,208)
-
#8c19d9
#8c19d9
rgb(140,25,217)
-
#8d10e2
#8d10e2
rgb(141,16,226)
-
#8f06ec
#8f06ec
rgb(143,6,236)
Tone Color Variation
Below, you can see how #7f5a98 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