COLOR #D98EF5

HEX: #D98EF5 RGB: (217,142,245)

Color info

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

RGB color model

#D98EF5 color RGB value is (217,142,245).

RGB: (217,142,245) (85%, 56%, 96%)

RGB channels and saturation

R 217 of 255 = 85%
G 142 of 255 = 56%
B 245 of 255 = 96%

217
142
245

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

Portions of RGB colors in percentages

R + G + B = 217 + 142 + 245 = 604 (100%)
R 217 of 604 ~ 35.93%
G 142 of 604 ~ 23.51%
B 245 of 604 ~ 40.56'%

%35.93
%23.51
%40.56

CMYK color model

#D98EF5 color CMYK value is (11,42,0,4).

  • cyan value is 11.43%
  • magenta value is 42.04%
  • yellow value is 0.00%
  • key color value is 3.92%

CMYK: (11,42,0,4)
C11M42Y0K4 (11%, 42%, 0%, 4%)
(0.11 / 0.42 / 0.00 / 0.04)

CMYK percentages

%11.43
%42.04
%0
%3.92

Codes

Color #D98EF5 in popluar color models

D9 8E F5
RGB 217 142 245
HSL 284° 83.74% 75.88%
HSB/HSV 284° 42.04% 96.08%
CMYK 11.43% 42.04% 0.00%
3.92%

Color #D98EF5 in popluar number systems.

HEX D9 8E F5
Decimal 217 142 245
Binary 11011001 10001110 11110101
Octal 331 216 365

Shades and tints

Shades of #D98EF5

#D98EF5
(217,142,245)
#C682DF
(198,130,223)
#B376C9
(179,118,201)
#A06AB3
(160,106,179)
#8D5E9D
(141,94,157)
#7A5287
(122,82,135)
#674671
(103,70,113)
#543A5B
(84,58,91)
#412E45
(65,46,69)
#2E222F
(46,34,47)
#1B1619
(27,22,25)
#000000
(0,0,0)

Tints of #D98EF5

#D98EF5
(217,142,245)
#DC98F5
(220,152,245)
#DFA2F5
(223,162,245)
#E2ACF5
(226,172,245)
#E5B6F5
(229,182,245)
#E8C0F5
(232,192,245)
#EBCAF5
(235,202,245)
#EED4F5
(238,212,245)
#F1DEF5
(241,222,245)
#F4E8F5
(244,232,245)
#F7F2F5
(247,242,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D98EF5; }

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

This text font color is #D98EF5.

Background Color

.myBgColor { background-color: #D98EF5; }

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

This div background color is #D98EF5.

Border color

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

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

This div border color is #D98EF5.

Opacity

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

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

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

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

This text has shadow with #D98EF5 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D98EF5.

Preview

Color preview on black background

This text has color #D98EF5 on black background.


Color preview on white background

This text has color #D98EF5 on white background.


Black color preview on #D98EF5 background

This text has black color on #D98EF5 background.


White color preview on #D98EF5 background

This text has white color on #D98EF5 background.


Related colors

Complementary color

Complementary color for #hex is #26710A.


I love getcolorcode.com

Triadic colors

1 #F5D98E and #8EF5D9 with #D98EF5 are triadic colors.

2 #F58ED9 and #8ED9F5 with #D98EF5 are triadic colors.