COLOR #9D5BA1

HEX: #9D5BA1
RGB: (157,91,161)

Color info

#9D5BA1 contains mainly red and blue colors. Web safe color of #9D5BA1 is #996699 (or #969).

RGB color model

#9D5BA1 color RGB value is (157,91,161).

  • red value is 157;
  • green value is 91;
  • blue value is 161.
RGB:
(157,91,161)
(62%,36%,63%)

RGB channels and saturation

R 157 of 255 = 62%
G 91 of 255 = 36%
B 161 of 255 = 63%

157
91
161

R + G + B ~ 54%. #9D5BA1 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
157 + 91 + 161 = 409 (100%)
R 157 of 409 ~ 38.39%
G 91 of 409 ~ 22.25%
B 161 of 409 ~ 39.36%

%38.39
%22.25
%39.36

CMYK color model

#9D5BA1 color CMYK value is (2,43,0,37).

  • cyan value is 2.48%
  • magenta value is 43.48%
  • yellow value is 0.00%
  • key color value is 36.86%
CMYK:
(2,43,0,37)
C2M43Y0K37 
(2%,43%,0%,37%)
(0.02/0.43/0.00/0.37)	

CMYK percentages

%2.48
%43.48
%0
%36.86

Codes

Color #9D5BA1 in popluar color models

9D5BA1
RGB15791161
HSL297°27.78%49.41%
HSB/HSV297°43.48%63.14%
CMYK2.48%43.48%0.00%
36.86%

Color #9D5BA1 in popluar number systems.

HEX9D5BA1
Decimal15791161
Binary10011101101101110100001
Octal235133241

Shades and tints

Shades of #9D5BA1

#9D5BA1
(157,91,161)
#8F5393
(143,83,147)
#814B85
(129,75,133)
#734377
(115,67,119)
#653B69
(101,59,105)
#57335B
(87,51,91)
#492B4D
(73,43,77)
#3B233F
(59,35,63)
#2D1B31
(45,27,49)
#1F1323
(31,19,35)
#110B15
(17,11,21)
#000000
(0,0,0)

Tints of #9D5BA1

#9D5BA1
(157,91,161)
#A569A9
(165,105,169)
#AD77B1
(173,119,177)
#B585B9
(181,133,185)
#BD93C1
(189,147,193)
#C5A1C9
(197,161,201)
#CDAFD1
(205,175,209)
#D5BDD9
(213,189,217)
#DDCBE1
(221,203,225)
#E5D9E9
(229,217,233)
#EDE7F1
(237,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5BA1 color. Also use rgb(157,91,161) instead hex code.

Text Font Color

.myTextColor { color: #9D5BA1; }

<p style="color:#9D5BA1">This sample text font color is #9D5BA1.</p>

This text font color is #9D5BA1.


Background Color

.myBgColor { background-color: #9D5BA1; }

<div style="background-color:#9D5BA1">Inner text</div>

This div background color is #9D5BA1.


Border color

.myBorderColor { border: 1px solid #9D5BA1; }

<div style="border:3px solid #9D5BA1">Div</div>

This div border color is #9D5BA1.


Opacity

.myOpacity80 { color: #9D5BA1; opacity: 0.8; }

<p style="color:#9D5BA1;opacity:0.8;">80%</p>

Text with #9D5BA1 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #9D5BA1;}

<p style="text-shadow: 3px 3px 1px #9D5BA1">Text here.</p>

This text has shadow with #9D5BA1 color.

.textShadow {text-shadow: 3px 3px 1px #9D5BA1, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #9D5BA1, 5px 5px 20px red">Text here.</p>

This text has shadow with #9D5BA1 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D5BA1, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#9D5BA1, Direction=45, Strength=4)">Text</p>

This text has shadow with #9D5BA1 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #9D5BA1;
  -webkit-box-shadow:	1px 1px 3px 2px #9D5BA1;
  box-shadow:		1px 1px 3px 2px #9D5BA1;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #9D5BA1;
-webkit-box-shadow: 1px 1px 3px 2px #9D5BA1;
box-shadow:1px 1px 3px 2px #9D5BA1;">
Div content here</div>
This div box has shadow with color #9D5BA1.

Preview

Color preview on black background

This text has color #9D5BA1 on black background.


Color preview on white background

This text has color #9D5BA1 on white background.



Black color preview on #9D5BA1 background

This text has black color on #9D5BA1 background.


White color preview on #9D5BA1 background

This text has white color on #9D5BA1 background.