Color: #CFA8FE

#CFA8FE Color Information

#CFA8FE is a light color. The closest websafe version is #CFA8FE. A complement of this color would be #D8FEA9, perceived brightness is 0.74, and the grayscale version is #D3D3D3.

In the HSL color space, this color has a hue angle of 267°,a saturation of 98%, and a lightness of 83%.The HSV representation shows a hue of 267°, a saturation of 34%, and a value of 100%.

In a RGB color space, #CFA8FE is composed of 81% red, 66% green and 100% blue. Whereas in a CMYK color space, it is composed of 19% cyan, 34% magenta, 0% yellow and 0% black.

In the Yxy color space, this color is represented as Y: 47.96, x: 0.3139, and y: 0.2666.

Color Code #CFA8FE

#CFA8FErgb(207, 168, 254)
HEX
#CFA8FE
RGB
rgb(207, 168, 254)
HSL
hsl(267, 98%, 83%)
HSV
hsv(267, 34%, 100%)
CMYK
19%, 34%, 0%, 0%
XYZ
X: 56.47, Y: 47.96, Z: 75.45
Lab
L: 74.80, a: 26.94, b: -37.57
Name

Shades of Color #CFA8FE

Shades are created by darkening the original color #CFA8FE 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 #CFA8FE

Tints are created by lightening the original color #CFA8FE 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.

#CFA8FErgb(207, 168, 254)

About #CFA8FE Color Code

In the HSL color space, this color has a hue angle of 267°, a saturation of 98%, and a lightness of 83%. The HSV representation shows a hue of 267°, a saturation of 34%, and a value of 100%.

  • HEX: #CFA8FE
  • RGB: rgb(207, 168, 254)
  • HSL: hsl(267, 98%, 83%)
  • HSV: hsv(267, 34%, 100%)
  • CMYK: 19.00% cyan, 34.00% magenta, 0.00% yellow, 0.00% black
  • XYZ: 56.47, 47.96, 75.45
  • Yxy: 47.96, 0.3139, 0.2666
  • Hunter Lab: 74.80, 26.94, -37.57
  • CIE-Lab: 74.80, 26.94, -37.57

In the XYZ color space, this color is represented as X: 56.47, Y: 47.96, Z: 75.45. The Yxy representation further refines this as Y: 47.96, x: 0.3139, and y: 0.2666.

In the Hunter Lab color space, this color is represented as L: 74.80, a: 26.94, and b: -37.57. Similarly, in the CIE-Lab color space, it is represented as L: 74.80, a: 26.94, and b: -37.57.

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 #CFA8FE

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

Analogous Colors of #CFA8FE

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

Monochromatic Colors of #CFA8FE

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

Complementary Color of #CFA8FE

The complementary color of #CFA8FE 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 #CFA8FE

/* Using HEX */
body {
  background-color: #cfa8fe;
}
/* Using RGB */
body {
  background-color: rgb(207, 168, 254);
}
/* Using RGB with opacity */
body {
  background-color: rgba(207, 168, 254, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(267, 98%, 83%);
}
/* Text color */
p {
  color: #cfa8fe;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cfa8fe;
}
/* Border color */
.box {
  border: 4px solid #cfa8fe;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cfa8fe;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cfa8fe;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CFA8FE
On Black Background
#CFA8FE
On White Background
#CFA8FE

HTML Examples of #CFA8FE

<!-- Using HEX -->
<div style="background-color: #cfa8fe; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(207, 168, 254); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(207, 168, 254, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(267, 98%, 83%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #cfa8fe;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #cfa8fe; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #cfa8fe; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #cfa8fe;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #cfa8fe; color: #fff; padding: 16px; border-radius: 8px;">
  #CFA8FE
</div>
#CFA8FE
On Black Background
#CFA8FE
On White Background
#CFA8FE

Related Colors of #CFA8FE

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