HSL(307, 94%, 40%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,94%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 94%, 40%) | color: hsl(307, 94%, 40%) | |
| HEX | #C606B0 | color: #C606B0 | |
| RGB | rgb(198, 6, 176) | color: rgb(198, 6, 176) | |
| CMYK | cmyk(0%, 97%, 11%, 22%) | — | |
| HSV | hsv(307, 97%, 78%) | — | |
| HWB | hwb(307 2% 22%) | color: hwb(307 2% 22%) | |
| OKLCH | oklch(0.5683 0.2509 334.66) | color: oklch(0.5683 0.2509 334.66) | |
| Lab | lab(46.01 77.61 -39.11) | color: lab(46.01 77.61 -39.11) | |
| LCH | lch(46.01 86.91 333.26) | color: lch(46.01 86.91 333.26) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#737187 — rgb(115, 113, 135)
Deuteranopia (Green-blind)
#7E8C7D — rgb(126, 140, 125)
Tritanopia (Blue-blind)
#BC665F — rgb(188, 102, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 94%, 40%);
text
color: hsl(307, 94%, 40%);
border
border: 2px solid hsl(307, 94%, 40%);
gradient light
background: linear-gradient(to right, hsl(307, 94%, 60%), hsl(307, 94%, 40%));
gradient dark
background: linear-gradient(to right, hsl(307, 94%, 40%), hsl(307, 94%, 20%))
hex
background-color: #C606B0;
tailwind
bg-[hsl(307,94%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 94%, 40%, 0.4);
css variable
--color-primary: hsl(307, 94%, 40%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 94%, 40%)?
HEX: #C606B0 | RGB: rgb(198, 6, 176) | CMYK: 0%, 97%, 11%, 22% | HSV: 307°, 97%, 78%. Copy any format from the conversion table above.
What colors go well with #C606B0?
The complementary color is HSL(127, 94%, 40%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 94%, 40%) in CSS?
As HSL: color: hsl(307, 94%, 40%); — As HEX: color: #C606B0; — As RGB: color: rgb(198, 6, 176); — Tailwind CSS: bg-[hsl(307,94%,40%)] — CSS variable: --color-primary: hsl(307, 94%, 40%);