Color: #CB98CD

#CB98CD Color Information

#CB98CD is a light color. The closest websafe version is #CB98CD. A complement of this color would be #9ACD98, perceived brightness is 0.68, and the grayscale version is #B3B3B3.

In the HSL color space, this color has a hue angle of 298°,a saturation of 35%, and a lightness of 70%.The HSV representation shows a hue of 298°, a saturation of 26%, and a value of 80%.

In a RGB color space, #CB98CD is composed of 80% red, 60% green and 80% blue. Whereas in a CMYK color space, it is composed of 1% cyan, 26% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 39.50, x: 0.3502, and y: 0.2951.

Color Code #CB98CD

#CB98CDrgb(203, 152, 205)
HEX
#CB98CD
RGB
rgb(203, 152, 205)
HSL
hsl(298, 35%, 70%)
HSV
hsv(298, 26%, 80%)
CMYK
1%, 26%, 0%, 20%
XYZ
X: 46.87, Y: 39.50, Z: 47.48
Lab
L: 69.11, a: 26.28, b: -19.61
Name

Shades of Color #CB98CD

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

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

#CB98CDrgb(203, 152, 205)

About #CB98CD Color Code

In the HSL color space, this color has a hue angle of 298°, a saturation of 35%, and a lightness of 70%. The HSV representation shows a hue of 298°, a saturation of 26%, and a value of 80%.

  • HEX: #CB98CD
  • RGB: rgb(203, 152, 205)
  • HSL: hsl(298, 35%, 70%)
  • HSV: hsv(298, 26%, 80%)
  • CMYK: 100.00% cyan, 26.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 46.87, 39.50, 47.48
  • Yxy: 39.50, 0.3502, 0.2951
  • Hunter Lab: 69.11, 26.28, -19.61
  • CIE-Lab: 69.11, 26.28, -19.61

In the XYZ color space, this color is represented as X: 46.87, Y: 39.50, Z: 47.48. The Yxy representation further refines this as Y: 39.50, x: 0.3502, and y: 0.2951.

In the Hunter Lab color space, this color is represented as L: 69.11, a: 26.28, and b: -19.61. Similarly, in the CIE-Lab color space, it is represented as L: 69.11, a: 26.28, and b: -19.61.

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

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

Analogous Colors of #CB98CD

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

Monochromatic Colors of #CB98CD

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

Complementary Color of #CB98CD

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

/* Using HEX */
body {
  background-color: #cb98cd;
}
/* Using RGB */
body {
  background-color: rgb(203, 152, 205);
}
/* Using RGB with opacity */
body {
  background-color: rgba(203, 152, 205, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(298, 35%, 70%);
}
/* Text color */
p {
  color: #cb98cd;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cb98cd;
}
/* Border color */
.box {
  border: 4px solid #cb98cd;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cb98cd;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cb98cd;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CB98CD
On Black Background
#CB98CD
On White Background
#CB98CD

HTML Examples of #CB98CD

<!-- Using HEX -->
<div style="background-color: #cb98cd; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(203, 152, 205); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(203, 152, 205, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(298, 35%, 70%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #cb98cd;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #cb98cd; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #cb98cd; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #cb98cd;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #cb98cd; color: #fff; padding: 16px; border-radius: 8px;">
  #CB98CD
</div>
#CB98CD
On Black Background
#CB98CD
On White Background
#CB98CD

Related Colors of #CB98CD

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