HSL(308, 94%, 60%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,94%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 94%, 60%) | color: hsl(308, 94%, 60%) | |
| HEX | #F939DF | color: #F939DF | |
| RGB | rgb(249, 57, 223) | color: rgb(249, 57, 223) | |
| CMYK | cmyk(0%, 77%, 10%, 2%) | — | |
| HSV | hsv(308, 77%, 98%) | — | |
| HWB | hwb(308 23% 2%) | color: hwb(308 23% 2%) | |
| OKLCH | oklch(0.6938 0.2746 334.5) | color: oklch(0.6938 0.2746 334.5) | |
| Lab | lab(60.25 85.08 -43.14) | color: lab(60.25 85.08 -43.14) | |
| LCH | lch(60.25 95.39 333.11) | color: lch(60.25 95.39 333.11) |
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)
#A6A4B7 — rgb(166, 164, 183)
Deuteranopia (Green-blind)
#B1BFAD — rgb(177, 191, 173)
Tritanopia (Blue-blind)
#EF9790 — rgb(239, 151, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 94%, 60%);
text
color: hsl(308, 94%, 60%);
border
border: 2px solid hsl(308, 94%, 60%);
gradient light
background: linear-gradient(to right, hsl(308, 94%, 80%), hsl(308, 94%, 60%));
gradient dark
background: linear-gradient(to right, hsl(308, 94%, 60%), hsl(308, 94%, 40%))
hex
background-color: #F939DF;
tailwind
bg-[hsl(308,94%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 94%, 60%, 0.4);
css variable
--color-primary: hsl(308, 94%, 60%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 94%, 60%)?
HEX: #F939DF | RGB: rgb(249, 57, 223) | CMYK: 0%, 77%, 10%, 2% | HSV: 308°, 77%, 98%. Copy any format from the conversion table above.
What colors go well with #F939DF?
The complementary color is HSL(128, 94%, 60%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 94%, 60%) in CSS?
As HSL: color: hsl(308, 94%, 60%); — As HEX: color: #F939DF; — As RGB: color: rgb(249, 57, 223); — Tailwind CSS: bg-[hsl(308,94%,60%)] — CSS variable: --color-primary: hsl(308, 94%, 60%);