HSL(295, 60%, 56%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,60%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 60%, 56%) | color: hsl(295, 60%, 56%) | |
| HEX | #C74BD2 | color: #C74BD2 | |
| RGB | rgb(199, 75, 210) | color: rgb(199, 75, 210) | |
| CMYK | cmyk(5%, 64%, 0%, 18%) | — | |
| HSV | hsv(295, 64%, 82%) | — | |
| HWB | hwb(295 30% 18%) | color: hwb(295 30% 18%) | |
| OKLCH | oklch(0.6306 0.2213 324.39) | color: oklch(0.6306 0.2213 324.39) | |
| Lab | lab(53.85 66.31 -46.4) | color: lab(53.85 66.31 -46.4) | |
| LCH | lch(53.85 80.93 325.02) | color: lch(53.85 80.93 325.02) |
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)
#9190B1 — rgb(145, 144, 177)
Deuteranopia (Green-blind)
#99A2AA — rgb(153, 162, 170)
Tritanopia (Blue-blind)
#C19892 — rgb(193, 152, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 60%, 56%);
text
color: hsl(295, 60%, 56%);
border
border: 2px solid hsl(295, 60%, 56%);
gradient light
background: linear-gradient(to right, hsl(295, 60%, 76%), hsl(295, 60%, 56%));
gradient dark
background: linear-gradient(to right, hsl(295, 60%, 56%), hsl(295, 60%, 36%))
hex
background-color: #C74BD2;
tailwind
bg-[hsl(295,60%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 60%, 56%, 0.4);
css variable
--color-primary: hsl(295, 60%, 56%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 60%, 56%)?
HEX: #C74BD2 | RGB: rgb(199, 75, 210) | CMYK: 5%, 64%, 0%, 18% | HSV: 295°, 64%, 82%. Copy any format from the conversion table above.
What colors go well with #C74BD2?
The complementary color is HSL(115, 60%, 56%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 60%, 56%) in CSS?
As HSL: color: hsl(295, 60%, 56%); — As HEX: color: #C74BD2; — As RGB: color: rgb(199, 75, 210); — Tailwind CSS: bg-[hsl(295,60%,56%)] — CSS variable: --color-primary: hsl(295, 60%, 56%);