HSL(307, 77%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,77%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 77%, 47%) | color: hsl(307, 77%, 47%) | |
| HEX | #D41CBF | color: #D41CBF | |
| RGB | rgb(212, 28, 191) | color: rgb(212, 28, 191) | |
| CMYK | cmyk(0%, 87%, 10%, 17%) | — | |
| HSV | hsv(307, 87%, 83%) | — | |
| HWB | hwb(307 11% 17%) | color: hwb(307 11% 17%) | |
| OKLCH | oklch(0.6053 0.2576 334.01) | color: oklch(0.6053 0.2576 334.01) | |
| Lab | lab(50.21 79.61 -41.09) | color: lab(50.21 79.61 -41.09) | |
| LCH | lch(50.21 89.59 332.7) | color: lch(50.21 89.59 332.7) |
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)
#848398 — rgb(132, 131, 152)
Deuteranopia (Green-blind)
#8F9D8E — rgb(143, 157, 142)
Tritanopia (Blue-blind)
#CB7872 — rgb(203, 120, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 77%, 47%);
text
color: hsl(307, 77%, 47%);
border
border: 2px solid hsl(307, 77%, 47%);
gradient light
background: linear-gradient(to right, hsl(307, 77%, 67%), hsl(307, 77%, 47%));
gradient dark
background: linear-gradient(to right, hsl(307, 77%, 47%), hsl(307, 77%, 27%))
hex
background-color: #D41CBF;
tailwind
bg-[hsl(307,77%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 77%, 47%, 0.4);
css variable
--color-primary: hsl(307, 77%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 77%, 47%)?
HEX: #D41CBF | RGB: rgb(212, 28, 191) | CMYK: 0%, 87%, 10%, 17% | HSV: 307°, 87%, 83%. Copy any format from the conversion table above.
What colors go well with #D41CBF?
The complementary color is HSL(127, 77%, 47%). 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, 77%, 47%) in CSS?
As HSL: color: hsl(307, 77%, 47%); — As HEX: color: #D41CBF; — As RGB: color: rgb(212, 28, 191); — Tailwind CSS: bg-[hsl(307,77%,47%)] — CSS variable: --color-primary: hsl(307, 77%, 47%);