HSL(307, 87%, 54%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,87%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 87%, 54%) | color: hsl(307, 87%, 54%) | |
| HEX | #F024D8 | color: #F024D8 | |
| RGB | rgb(240, 36, 216) | color: rgb(240, 36, 216) | |
| CMYK | cmyk(0%, 85%, 10%, 6%) | — | |
| HSV | hsv(307, 85%, 94%) | — | |
| HWB | hwb(307 14% 6%) | color: hwb(307 14% 6%) | |
| OKLCH | oklch(0.6655 0.281 334.12) | color: oklch(0.6655 0.281 334.12) | |
| Lab | lab(56.83 86.89 -44.67) | color: lab(56.83 86.89 -44.67) | |
| LCH | lch(56.83 97.7 332.79) | color: lch(56.83 97.7 332.79) |
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)
#9896AC — rgb(152, 150, 172)
Deuteranopia (Green-blind)
#A4B3A2 — rgb(164, 179, 162)
Tritanopia (Blue-blind)
#E68A83 — rgb(230, 138, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 87%, 54%);
text
color: hsl(307, 87%, 54%);
border
border: 2px solid hsl(307, 87%, 54%);
gradient light
background: linear-gradient(to right, hsl(307, 87%, 74%), hsl(307, 87%, 54%));
gradient dark
background: linear-gradient(to right, hsl(307, 87%, 54%), hsl(307, 87%, 34%))
hex
background-color: #F024D8;
tailwind
bg-[hsl(307,87%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 87%, 54%, 0.4);
css variable
--color-primary: hsl(307, 87%, 54%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 87%, 54%)?
HEX: #F024D8 | RGB: rgb(240, 36, 216) | CMYK: 0%, 85%, 10%, 6% | HSV: 307°, 85%, 94%. Copy any format from the conversion table above.
What colors go well with #F024D8?
The complementary color is HSL(127, 87%, 54%). 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, 87%, 54%) in CSS?
As HSL: color: hsl(307, 87%, 54%); — As HEX: color: #F024D8; — As RGB: color: rgb(240, 36, 216); — Tailwind CSS: bg-[hsl(307,87%,54%)] — CSS variable: --color-primary: hsl(307, 87%, 54%);