COLOR #D98CEB

HEX: #D98CEB RGB: (217,140,235)

Color info

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

RGB color model

#D98CEB color RGB value is (217,140,235).

RGB: (217,140,235) (85%, 55%, 92%)

RGB channels and saturation

R 217 of 255 = 85%
G 140 of 255 = 55%
B 235 of 255 = 92%

217
140
235

R + G + B ~ 77%. #D98CEB is quite light color.

Portions of RGB colors in percentages

R + G + B = 217 + 140 + 235 = 592 (100%)
R 217 of 592 ~ 36.66%
G 140 of 592 ~ 23.65%
B 235 of 592 ~ 39.7'%

%36.66
%23.65
%39.7

CMYK color model

#D98CEB color CMYK value is (8,40,0,8).

  • cyan value is 7.66%
  • magenta value is 40.43%
  • yellow value is 0.00%
  • key color value is 7.84%
CMYK: (8,40,0,8) C8M40Y0K8 (8%,40%,0%,8%) (0.08/0.40/0.00/0.08) 

CMYK percentages

%7.66
%40.43
%0
%7.84

Codes

Color #D98CEB in popluar color models

D9 8C EB
RGB 217 140 235
HSL 289° 70.37% 73.53%
HSB/HSV 289° 40.43% 92.16%
CMYK 7.66% 40.43% 0.00%
7.84%

Color #D98CEB in popluar number systems.

HEX D9 8C EB
Decimal 217 140 235
Binary 11011001 10001100 11101011
Octal 331 214 353

Shades and tints

Shades of #D98CEB

#D98CEB
(217,140,235)
#C680D6
(198,128,214)
#B374C1
(179,116,193)
#A068AC
(160,104,172)
#8D5C97
(141,92,151)
#7A5082
(122,80,130)
#67446D
(103,68,109)
#543858
(84,56,88)
#412C43
(65,44,67)
#2E202E
(46,32,46)
#1B1419
(27,20,25)
#000000
(0,0,0)

Tints of #D98CEB

#D98CEB
(217,140,235)
#DC96EC
(220,150,236)
#DFA0ED
(223,160,237)
#E2AAEE
(226,170,238)
#E5B4EF
(229,180,239)
#E8BEF0
(232,190,240)
#EBC8F1
(235,200,241)
#EED2F2
(238,210,242)
#F1DCF3
(241,220,243)
#F4E6F4
(244,230,244)
#F7F0F5
(247,240,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D98CEB color. Also use rgb(217,140,235) instead hex code.

Text Font Color

.myTextColor { color: #D98CEB; }

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

This text font color is #D98CEB.

Background Color

.myBgColor { background-color: #D98CEB; }

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

This div background color is #D98CEB.

Border color

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

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

This div border color is #D98CEB.

Opacity

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

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

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

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

This text has shadow with #D98CEB color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D98CEB.

Preview

Color preview on black background

This text has color #D98CEB on black background.


Color preview on white background

This text has color #D98CEB on white background.


Black color preview on #D98CEB background

This text has black color on #D98CEB background.


White color preview on #D98CEB background

This text has white color on #D98CEB background.


Related colors

Complementary color

Complementary color for #hex is #267314.


I love getcolorcode.com

Triadic colors

1 #EBD98C and #8CEBD9 with #D98CEB are triadic colors.

2 #EB8CD9 and #8CD9EB with #D98CEB are triadic colors.