HSL(296, 28%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,28%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 28%, 73%) | color: hsl(296, 28%, 73%) | |
| HEX | #CBA7CD | color: #CBA7CD | |
| RGB | rgb(203, 167, 205) | color: rgb(203, 167, 205) | |
| CMYK | cmyk(1%, 19%, 0%, 20%) | — | |
| HSV | hsv(297, 19%, 80%) | — | |
| HWB | hwb(297 65% 20%) | color: hwb(297 65% 20%) | |
| OKLCH | oklch(0.7725 0.0664 324.52) | color: oklch(0.7725 0.0664 324.52) | |
| Lab | lab(72.72 19.76 -14.37) | color: lab(72.72 19.76 -14.37) | |
| LCH | lch(72.72 24.43 323.97) | color: lch(72.72 24.43 323.97) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#BBBBC4 — rgb(187, 187, 196)
Deuteranopia (Green-blind)
#BEC0C2 — rgb(190, 192, 194)
Tritanopia (Blue-blind)
#C9BDBB — rgb(201, 189, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 28%, 73%);
text
color: hsl(296, 28%, 73%);
border
border: 2px solid hsl(296, 28%, 73%);
gradient light
background: linear-gradient(to right, hsl(296, 28%, 93%), hsl(296, 28%, 73%));
gradient dark
background: linear-gradient(to right, hsl(296, 28%, 73%), hsl(296, 28%, 53%))
hex
background-color: #CBA7CD;
tailwind
bg-[hsl(296,28%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 28%, 73%, 0.4);
css variable
--color-primary: hsl(296, 28%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 28%, 73%)?
HEX: #CBA7CD | RGB: rgb(203, 167, 205) | CMYK: 1%, 19%, 0%, 20% | HSV: 297°, 19%, 80%. Copy any format from the conversion table above.
What colors go well with #CBA7CD?
The complementary color is HSL(116, 28%, 73%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 28%, 73%) in CSS?
As HSL: color: hsl(296, 28%, 73%); — As HEX: color: #CBA7CD; — As RGB: color: rgb(203, 167, 205); — Tailwind CSS: bg-[hsl(296,28%,73%)] — CSS variable: --color-primary: hsl(296, 28%, 73%);