HSL(307, 94%, 52%)
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,94%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 94%, 52%) | color: hsl(307, 94%, 52%) | |
| HEX | #F812DD | color: #F812DD | |
| RGB | rgb(248, 18, 221) | color: rgb(248, 18, 221) | |
| CMYK | cmyk(0%, 93%, 11%, 3%) | — | |
| HSV | hsv(307, 93%, 97%) | — | |
| HWB | hwb(307 7% 3%) | color: hwb(307 7% 3%) | |
| OKLCH | oklch(0.6748 0.2953 334.62) | color: oklch(0.6748 0.2953 334.62) | |
| Lab | lab(57.67 91.35 -46.09) | color: lab(57.67 91.35 -46.09) | |
| LCH | lch(57.67 102.32 333.23) | color: lch(57.67 102.32 333.23) |
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)
#9492AC — rgb(148, 146, 172)
Deuteranopia (Green-blind)
#A2B3A0 — rgb(162, 179, 160)
Tritanopia (Blue-blind)
#ED857D — rgb(237, 133, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 94%, 52%);
text
color: hsl(307, 94%, 52%);
border
border: 2px solid hsl(307, 94%, 52%);
gradient light
background: linear-gradient(to right, hsl(307, 94%, 72%), hsl(307, 94%, 52%));
gradient dark
background: linear-gradient(to right, hsl(307, 94%, 52%), hsl(307, 94%, 32%))
hex
background-color: #F812DD;
tailwind
bg-[hsl(307,94%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 94%, 52%, 0.4);
css variable
--color-primary: hsl(307, 94%, 52%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 94%, 52%)?
HEX: #F812DD | RGB: rgb(248, 18, 221) | CMYK: 0%, 93%, 11%, 3% | HSV: 307°, 93%, 97%. Copy any format from the conversion table above.
What colors go well with #F812DD?
The complementary color is HSL(127, 94%, 52%). 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, 94%, 52%) in CSS?
As HSL: color: hsl(307, 94%, 52%); — As HEX: color: #F812DD; — As RGB: color: rgb(248, 18, 221); — Tailwind CSS: bg-[hsl(307,94%,52%)] — CSS variable: --color-primary: hsl(307, 94%, 52%);