COLOR #D98BF5

HEX: #D98BF5
RGB: (217,139,245)

Color info

#D98BF5 contains mainly red and blue colors. Web safe color of #D98BF5 is #CC99FF (or #C9F).

RGB color model

#D98BF5 color RGB value is (217,139,245).

  • red value is 217;
  • green value is 139;
  • blue value is 245.
RGB:
(217,139,245)
(85%,55%,96%)

RGB channels and saturation

R 217 of 255 = 85%
G 139 of 255 = 55%
B 245 of 255 = 96%

217
139
245

R + G + B ~ 79%. #D98BF5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
217 + 139 + 245 = 601 (100%)
R 217 of 601 ~ 36.11%
G 139 of 601 ~ 23.13%
B 245 of 601 ~ 40.77%

%36.11
%23.13
%40.77

CMYK color model

#D98BF5 color CMYK value is (11,43,0,4).

  • cyan value is 11.43%
  • magenta value is 43.27%
  • yellow value is 0.00%
  • key color value is 3.92%
CMYK:
(11,43,0,4)
C11M43Y0K4 
(11%,43%,0%,4%)
(0.11/0.43/0.00/0.04)	

CMYK percentages

%11.43
%43.27
%0
%3.92

Codes

Color #D98BF5 in popluar color models

D98BF5
RGB217139245
HSL284°84.13%75.29%
HSB/HSV284°43.27%96.08%
CMYK11.43%43.27%0.00%
3.92%

Color #D98BF5 in popluar number systems.

HEXD98BF5
Decimal217139245
Binary110110011000101111110101
Octal331213365

Shades and tints

Shades of #D98BF5

#D98BF5
(217,139,245)
#C67FDF
(198,127,223)
#B373C9
(179,115,201)
#A067B3
(160,103,179)
#8D5B9D
(141,91,157)
#7A4F87
(122,79,135)
#674371
(103,67,113)
#54375B
(84,55,91)
#412B45
(65,43,69)
#2E1F2F
(46,31,47)
#1B1319
(27,19,25)
#000000
(0,0,0)

Tints of #D98BF5

#D98BF5
(217,139,245)
#DC95F5
(220,149,245)
#DF9FF5
(223,159,245)
#E2A9F5
(226,169,245)
#E5B3F5
(229,179,245)
#E8BDF5
(232,189,245)
#EBC7F5
(235,199,245)
#EED1F5
(238,209,245)
#F1DBF5
(241,219,245)
#F4E5F5
(244,229,245)
#F7EFF5
(247,239,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D98BF5 color. Also use rgb(217,139,245) instead hex code.

Text Font Color

.myTextColor { color: #D98BF5; }

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

This text font color is #D98BF5.


Background Color

.myBgColor { background-color: #D98BF5; }

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

This div background color is #D98BF5.


Border color

.myBorderColor { border: 1px solid #D98BF5; }

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

This div border color is #D98BF5.


Opacity

.myOpacity80 { color: #D98BF5; opacity: 0.8; }

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

Text with #D98BF5 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 #D98BF5;}

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

This text has shadow with #D98BF5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D98BF5 on black background.


Color preview on white background

This text has color #D98BF5 on white background.



Black color preview on #D98BF5 background

This text has black color on #D98BF5 background.


White color preview on #D98BF5 background

This text has white color on #D98BF5 background.