Color: #B28DFC

#B28DFC Color Information

#B28DFC is a light color. The closest websafe version is #B28DFC. A complement of this color would be #D7FC8D, perceived brightness is 0.65, and the grayscale version is #C5C5C5.

In the HSL color space, this color has a hue angle of 260°,a saturation of 95%, and a lightness of 77%.The HSV representation shows a hue of 260°, a saturation of 44%, and a value of 99%.

In a RGB color space, #B28DFC is composed of 70% red, 55% green and 99% blue. Whereas in a CMYK color space, it is composed of 29% cyan, 44% magenta, 0% yellow and 1% black.

In the Yxy color space, this color is represented as Y: 34.90, x: 0.2883, and y: 0.2308.

Color Code #B28DFC

#B28DFCrgb(178, 141, 252)
HEX
#B28DFC
RGB
rgb(178, 141, 252)
HSL
hsl(260, 95%, 77%)
HSV
hsv(260, 44%, 99%)
CMYK
29%, 44%, 0%, 1%
XYZ
X: 43.60, Y: 34.90, Z: 72.73
Lab
L: 65.67, a: 31.74, b: -50.94
Name

Shades of Color #B28DFC

Shades are created by darkening the original color #B28DFC in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #B28DFC

Tints are created by lightening the original color #B28DFC in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#B28DFCrgb(178, 141, 252)

About #B28DFC Color Code

In the HSL color space, this color has a hue angle of 260°, a saturation of 95%, and a lightness of 77%. The HSV representation shows a hue of 260°, a saturation of 44%, and a value of 99%.

  • HEX: #B28DFC
  • RGB: rgb(178, 141, 252)
  • HSL: hsl(260, 95%, 77%)
  • HSV: hsv(260, 44%, 99%)
  • CMYK: 29.00% cyan, 44.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 43.60, 34.90, 72.73
  • Yxy: 34.90, 0.2883, 0.2308
  • Hunter Lab: 65.67, 31.74, -50.94
  • CIE-Lab: 65.67, 31.74, -50.94

In the XYZ color space, this color is represented as X: 43.60, Y: 34.90, Z: 72.73. The Yxy representation further refines this as Y: 34.90, x: 0.2883, and y: 0.2308.

In the Hunter Lab color space, this color is represented as L: 65.67, a: 31.74, and b: -50.94. Similarly, in the CIE-Lab color space, it is represented as L: 65.67, a: 31.74, and b: -50.94.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #B28DFC

Triadic colors are three colors evenly spaced around the color wheel, including #B28DFC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #B28DFC

Analogous colors are adjacent to #B28DFC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #B28DFC

Monochromatic colors are variations of #B28DFC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #B28DFC

The complementary color of #B28DFC is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #B28DFC

/* Using HEX */
body {
  background-color: #b28dfc;
}
/* Using RGB */
body {
  background-color: rgb(178, 141, 252);
}
/* Using RGB with opacity */
body {
  background-color: rgba(178, 141, 252, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(260, 95%, 77%);
}
/* Text color */
p {
  color: #b28dfc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #b28dfc;
}
/* Border color */
.box {
  border: 4px solid #b28dfc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #b28dfc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #b28dfc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#B28DFC
On Black Background
#B28DFC
On White Background
#B28DFC

HTML Examples of #B28DFC

<!-- Using HEX -->
<div style="background-color: #b28dfc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(178, 141, 252); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(178, 141, 252, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(260, 95%, 77%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #b28dfc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #b28dfc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #b28dfc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #b28dfc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #b28dfc; color: #fff; padding: 16px; border-radius: 8px;">
  #B28DFC
</div>
#B28DFC
On Black Background
#B28DFC
On White Background
#B28DFC

Related Colors of #B28DFC

These colors are similar to #B28DFC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.