HSL(305, 90%, 57%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(305,90%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(305, 90%, 57%) | color: hsl(305, 90%, 57%) | |
| HEX | #F42FE4 | color: #F42FE4 | |
| RGB | rgb(244, 47, 228) | color: rgb(244, 47, 228) | |
| CMYK | cmyk(0%, 81%, 7%, 4%) | — | |
| HSV | hsv(305, 81%, 96%) | — | |
| HWB | hwb(305 18% 4%) | color: hwb(305 18% 4%) | |
| OKLCH | oklch(0.6832 0.2833 332.03) | color: oklch(0.6832 0.2833 332.03) | |
| Lab | lab(58.86 87.14 -48.21) | color: lab(58.86 87.14 -48.21) | |
| LCH | lch(58.86 99.59 331.05) | color: lch(58.86 99.59 331.05) |
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)
#9F9DB8 — rgb(159, 157, 184)
Deuteranopia (Green-blind)
#AAB9AE — rgb(170, 185, 174)
Tritanopia (Blue-blind)
#EA968E — rgb(234, 150, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(305, 90%, 57%);
text
color: hsl(305, 90%, 57%);
border
border: 2px solid hsl(305, 90%, 57%);
gradient light
background: linear-gradient(to right, hsl(305, 90%, 77%), hsl(305, 90%, 57%));
gradient dark
background: linear-gradient(to right, hsl(305, 90%, 57%), hsl(305, 90%, 37%))
hex
background-color: #F42FE4;
tailwind
bg-[hsl(305,90%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(305, 90%, 57%, 0.4);
css variable
--color-primary: hsl(305, 90%, 57%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(305, 90%, 57%)?
HEX: #F42FE4 | RGB: rgb(244, 47, 228) | CMYK: 0%, 81%, 7%, 4% | HSV: 305°, 81%, 96%. Copy any format from the conversion table above.
What colors go well with #F42FE4?
The complementary color is HSL(125, 90%, 57%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(305, 90%, 57%) in CSS?
As HSL: color: hsl(305, 90%, 57%); — As HEX: color: #F42FE4; — As RGB: color: rgb(244, 47, 228); — Tailwind CSS: bg-[hsl(305,90%,57%)] — CSS variable: --color-primary: hsl(305, 90%, 57%);