HSL(297, 20%, 72%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,20%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 20%, 72%) | color: hsl(297, 20%, 72%) | |
| HEX | #C4A9C6 | color: #C4A9C6 | |
| RGB | rgb(196, 169, 198) | color: rgb(196, 169, 198) | |
| CMYK | cmyk(1%, 15%, 0%, 22%) | — | |
| HSV | hsv(296, 15%, 78%) | — | |
| HWB | hwb(296 66% 22%) | color: hwb(296 66% 22%) | |
| OKLCH | oklch(0.7674 0.0505 323.9) | color: oklch(0.7674 0.0505 323.9) | |
| Lab | lab(72.36 14.95 -11.14) | color: lab(72.36 14.95 -11.14) | |
| LCH | lch(72.36 18.64 323.31) | color: lch(72.36 18.64 323.31) |
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)
#B8B8BF — rgb(184, 184, 191)
Deuteranopia (Green-blind)
#BABCBD — rgb(186, 188, 189)
Tritanopia (Blue-blind)
#C3B9B8 — rgb(195, 185, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 20%, 72%);
text
color: hsl(297, 20%, 72%);
border
border: 2px solid hsl(297, 20%, 72%);
gradient light
background: linear-gradient(to right, hsl(297, 20%, 92%), hsl(297, 20%, 72%));
gradient dark
background: linear-gradient(to right, hsl(297, 20%, 72%), hsl(297, 20%, 52%))
hex
background-color: #C4A9C6;
tailwind
bg-[hsl(297,20%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 20%, 72%, 0.4);
css variable
--color-primary: hsl(297, 20%, 72%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 20%, 72%)?
HEX: #C4A9C6 | RGB: rgb(196, 169, 198) | CMYK: 1%, 15%, 0%, 22% | HSV: 296°, 15%, 78%. Copy any format from the conversion table above.
What colors go well with #C4A9C6?
The complementary color is HSL(117, 20%, 72%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 20%, 72%) in CSS?
As HSL: color: hsl(297, 20%, 72%); — As HEX: color: #C4A9C6; — As RGB: color: rgb(196, 169, 198); — Tailwind CSS: bg-[hsl(297,20%,72%)] — CSS variable: --color-primary: hsl(297, 20%, 72%);