Color: #CFA7FC

#CFA7FC Color Information

#CFA7FC is a light color. The closest websafe version is #CFA7FC. A complement of this color would be #D4FCA6, perceived brightness is 0.74, and the grayscale version is #D2D2D2.

In the HSL color space, this color has a hue angle of 268°,a saturation of 93%, and a lightness of 82%.The HSV representation shows a hue of 268°, a saturation of 34%, and a value of 99%.

In a RGB color space, #CFA7FC is composed of 81% red, 65% green and 99% blue. Whereas in a CMYK color space, it is composed of 18% cyan, 34% magenta, 0% yellow and 1% black.

In the Yxy color space, this color is represented as Y: 47.49, x: 0.3153, and y: 0.2673.

Color Code #CFA7FC

#CFA7FCrgb(207, 167, 252)
HEX
#CFA7FC
RGB
rgb(207, 167, 252)
HSL
hsl(268, 93%, 82%)
HSV
hsv(268, 34%, 99%)
CMYK
18%, 34%, 0%, 1%
XYZ
X: 56.02, Y: 47.49, Z: 74.14
Lab
L: 74.50, a: 27.12, b: -36.95
Name

Shades of Color #CFA7FC

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

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

#CFA7FCrgb(207, 167, 252)

About #CFA7FC Color Code

In the HSL color space, this color has a hue angle of 268°, a saturation of 93%, and a lightness of 82%. The HSV representation shows a hue of 268°, a saturation of 34%, and a value of 99%.

  • HEX: #CFA7FC
  • RGB: rgb(207, 167, 252)
  • HSL: hsl(268, 93%, 82%)
  • HSV: hsv(268, 34%, 99%)
  • CMYK: 18.00% cyan, 34.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 56.02, 47.49, 74.14
  • Yxy: 47.49, 0.3153, 0.2673
  • Hunter Lab: 74.50, 27.12, -36.95
  • CIE-Lab: 74.50, 27.12, -36.95

In the XYZ color space, this color is represented as X: 56.02, Y: 47.49, Z: 74.14. The Yxy representation further refines this as Y: 47.49, x: 0.3153, and y: 0.2673.

In the Hunter Lab color space, this color is represented as L: 74.50, a: 27.12, and b: -36.95. Similarly, in the CIE-Lab color space, it is represented as L: 74.50, a: 27.12, and b: -36.95.

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

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

Analogous Colors of #CFA7FC

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

Monochromatic Colors of #CFA7FC

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

Complementary Color of #CFA7FC

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

/* Using HEX */
body {
  background-color: #cfa7fc;
}
/* Using RGB */
body {
  background-color: rgb(207, 167, 252);
}
/* Using RGB with opacity */
body {
  background-color: rgba(207, 167, 252, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(268, 93%, 82%);
}
/* Text color */
p {
  color: #cfa7fc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cfa7fc;
}
/* Border color */
.box {
  border: 4px solid #cfa7fc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cfa7fc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cfa7fc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CFA7FC
On Black Background
#CFA7FC
On White Background
#CFA7FC

HTML Examples of #CFA7FC

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

Related Colors of #CFA7FC

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