HSL(309, 95%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,95%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 95%, 62%) | color: hsl(309, 95%, 62%) | |
| HEX | #FA42DF | color: #FA42DF | |
| RGB | rgb(250, 66, 223) | color: rgb(250, 66, 223) | |
| CMYK | cmyk(0%, 74%, 11%, 2%) | — | |
| HSV | hsv(309, 74%, 98%) | — | |
| HWB | hwb(309 25% 2%) | color: hwb(309 25% 2%) | |
| OKLCH | oklch(0.7014 0.2669 334.81) | color: oklch(0.7014 0.2669 334.81) | |
| Lab | lab(61.27 82.83 -41.52) | color: lab(61.27 82.83 -41.52) | |
| LCH | lch(61.27 92.65 333.38) | color: lch(61.27 92.65 333.38) |
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)
#AAA9B9 — rgb(170, 169, 185)
Deuteranopia (Green-blind)
#B5C3B0 — rgb(181, 195, 176)
Tritanopia (Blue-blind)
#F19B94 — rgb(241, 155, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 95%, 62%);
text
color: hsl(309, 95%, 62%);
border
border: 2px solid hsl(309, 95%, 62%);
gradient light
background: linear-gradient(to right, hsl(309, 95%, 82%), hsl(309, 95%, 62%));
gradient dark
background: linear-gradient(to right, hsl(309, 95%, 62%), hsl(309, 95%, 42%))
hex
background-color: #FA42DF;
tailwind
bg-[hsl(309,95%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 95%, 62%, 0.4);
css variable
--color-primary: hsl(309, 95%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 95%, 62%)?
HEX: #FA42DF | RGB: rgb(250, 66, 223) | CMYK: 0%, 74%, 11%, 2% | HSV: 309°, 74%, 98%. Copy any format from the conversion table above.
What colors go well with #FA42DF?
The complementary color is HSL(129, 95%, 62%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 95%, 62%) in CSS?
As HSL: color: hsl(309, 95%, 62%); — As HEX: color: #FA42DF; — As RGB: color: rgb(250, 66, 223); — Tailwind CSS: bg-[hsl(309,95%,62%)] — CSS variable: --color-primary: hsl(309, 95%, 62%);