HSL(292, 32%, 74%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,32%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 32%, 74%) | color: hsl(292, 32%, 74%) | |
| HEX | #CCA7D2 | color: #CCA7D2 | |
| RGB | rgb(204, 167, 210) | color: rgb(204, 167, 210) | |
| CMYK | cmyk(3%, 20%, 0%, 18%) | — | |
| HSV | hsv(292, 20%, 82%) | — | |
| HWB | hwb(292 66% 18%) | color: hwb(292 66% 18%) | |
| OKLCH | oklch(0.7752 0.0725 321.62) | color: oklch(0.7752 0.0725 321.62) | |
| Lab | lab(72.98 21.05 -16.72) | color: lab(72.98 21.05 -16.72) | |
| LCH | lch(72.98 26.88 321.54) | color: lch(72.98 26.88 321.54) |
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)
#BCBCC8 — rgb(188, 188, 200)
Deuteranopia (Green-blind)
#BEC1C5 — rgb(190, 193, 197)
Tritanopia (Blue-blind)
#CABFBE — rgb(202, 191, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 32%, 74%);
text
color: hsl(292, 32%, 74%);
border
border: 2px solid hsl(292, 32%, 74%);
gradient light
background: linear-gradient(to right, hsl(292, 32%, 94%), hsl(292, 32%, 74%));
gradient dark
background: linear-gradient(to right, hsl(292, 32%, 74%), hsl(292, 32%, 54%))
hex
background-color: #CCA7D2;
tailwind
bg-[hsl(292,32%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 32%, 74%, 0.4);
css variable
--color-primary: hsl(292, 32%, 74%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 32%, 74%)?
HEX: #CCA7D2 | RGB: rgb(204, 167, 210) | CMYK: 3%, 20%, 0%, 18% | HSV: 292°, 20%, 82%. Copy any format from the conversion table above.
What colors go well with #CCA7D2?
The complementary color is HSL(112, 32%, 74%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 32%, 74%) in CSS?
As HSL: color: hsl(292, 32%, 74%); — As HEX: color: #CCA7D2; — As RGB: color: rgb(204, 167, 210); — Tailwind CSS: bg-[hsl(292,32%,74%)] — CSS variable: --color-primary: hsl(292, 32%, 74%);