COLOR #D8A1FF

HEX: #D8A1FF
RGB: (216,161,255)

Color info

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

RGB color model

#D8A1FF color RGB value is (216,161,255).

  • red value is 216;
  • green value is 161;
  • blue value is 255.
RGB:
(216,161,255)
(85%,63%,100%)

RGB channels and saturation

R 216 of 255 = 85%
G 161 of 255 = 63%
B 255 of 255 = 100%

216
161
255

R + G + B ~ 83%. #D8A1FF is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 161 + 255 = 632 (100%)
R 216 of 632 ~ 34.18%
G 161 of 632 ~ 25.47%
B 255 of 632 ~ 40.35%

%34.18
%25.47
%40.35

CMYK color model

#D8A1FF color CMYK value is (15,37,0,0).

  • cyan value is 15.29%
  • magenta value is 36.86%
  • yellow value is 0.00%
  • key color value is 0.00%
CMYK:
(15,37,0,0)
C15M37Y0K0 
(15%,37%,0%,0%)
(0.15/0.37/0.00/0.00)	

CMYK percentages

%15.29
%36.86
%0
%0

Codes

Color #D8A1FF in popluar color models

D8A1FF
RGB216161255
HSL275°100.00%81.57%
HSB/HSV275°36.86%100.00%
CMYK15.29%36.86%0.00%
0.00%

Color #D8A1FF in popluar number systems.

HEXD8A1FF
Decimal216161255
Binary110110001010000111111111
Octal330241377

Shades and tints

Shades of #D8A1FF

#D8A1FF
(216,161,255)
#C593E8
(197,147,232)
#B285D1
(178,133,209)
#9F77BA
(159,119,186)
#8C69A3
(140,105,163)
#795B8C
(121,91,140)
#664D75
(102,77,117)
#533F5E
(83,63,94)
#403147
(64,49,71)
#2D2330
(45,35,48)
#1A1519
(26,21,25)
#000000
(0,0,0)

Tints of #D8A1FF

#D8A1FF
(216,161,255)
#DBA9FF
(219,169,255)
#DEB1FF
(222,177,255)
#E1B9FF
(225,185,255)
#E4C1FF
(228,193,255)
#E7C9FF
(231,201,255)
#EAD1FF
(234,209,255)
#EDD9FF
(237,217,255)
#F0E1FF
(240,225,255)
#F3E9FF
(243,233,255)
#F6F1FF
(246,241,255)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8A1FF color. Also use rgb(216,161,255) instead hex code.

Text Font Color

.myTextColor { color: #D8A1FF; }

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

This text font color is #D8A1FF.


Background Color

.myBgColor { background-color: #D8A1FF; }

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

This div background color is #D8A1FF.


Border color

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

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

This div border color is #D8A1FF.


Opacity

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

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

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

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

This text has shadow with #D8A1FF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8A1FF on black background.


Color preview on white background

This text has color #D8A1FF on white background.



Black color preview on #D8A1FF background

This text has black color on #D8A1FF background.


White color preview on #D8A1FF background

This text has white color on #D8A1FF background.