HSL(296, 64%, 51%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,64%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 64%, 51%) | color: hsl(296, 64%, 51%) | |
| HEX | #C732D2 | color: #C732D2 | |
| RGB | rgb(199, 50, 210) | color: rgb(199, 50, 210) | |
| CMYK | cmyk(5%, 76%, 0%, 18%) | — | |
| HSV | hsv(296, 76%, 82%) | — | |
| HWB | hwb(296 20% 18%) | color: hwb(296 20% 18%) | |
| OKLCH | oklch(0.6086 0.249 324.98) | color: oklch(0.6086 0.249 324.98) | |
| Lab | lab(50.78 75.01 -51.28) | color: lab(50.78 75.01 -51.28) | |
| LCH | lch(50.78 90.86 325.64) | color: lch(50.78 90.86 325.64) |
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)
#8685AB — rgb(134, 133, 171)
Deuteranopia (Green-blind)
#8F9AA2 — rgb(143, 154, 162)
Tritanopia (Blue-blind)
#C08D86 — rgb(192, 141, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 64%, 51%);
text
color: hsl(296, 64%, 51%);
border
border: 2px solid hsl(296, 64%, 51%);
gradient light
background: linear-gradient(to right, hsl(296, 64%, 71%), hsl(296, 64%, 51%));
gradient dark
background: linear-gradient(to right, hsl(296, 64%, 51%), hsl(296, 64%, 31%))
hex
background-color: #C732D2;
tailwind
bg-[hsl(296,64%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 64%, 51%, 0.4);
css variable
--color-primary: hsl(296, 64%, 51%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 64%, 51%)?
HEX: #C732D2 | RGB: rgb(199, 50, 210) | CMYK: 5%, 76%, 0%, 18% | HSV: 296°, 76%, 82%. Copy any format from the conversion table above.
What colors go well with #C732D2?
The complementary color is HSL(116, 64%, 51%). 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, 64%, 51%) in CSS?
As HSL: color: hsl(296, 64%, 51%); — As HEX: color: #C732D2; — As RGB: color: rgb(199, 50, 210); — Tailwind CSS: bg-[hsl(296,64%,51%)] — CSS variable: --color-primary: hsl(296, 64%, 51%);