HSL(307, 84%, 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,84%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 84%, 54%) | color: hsl(307, 84%, 54%) | |
| HEX | #EC27D5 | color: #EC27D5 | |
| RGB | rgb(236, 39, 213) | color: rgb(236, 39, 213) | |
| CMYK | cmyk(0%, 83%, 10%, 7%) | — | |
| HSV | hsv(307, 83%, 93%) | — | |
| HWB | hwb(307 16% 7%) | color: hwb(307 16% 7%) | |
| OKLCH | oklch(0.6591 0.2756 333.97) | color: oklch(0.6591 0.2756 333.97) | |
| Lab | lab(56.18 85.19 -44.04) | color: lab(56.18 85.19 -44.04) | |
| LCH | lch(56.18 95.9 332.66) | color: lch(56.18 95.9 332.66) |
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)
#9795AB — rgb(151, 149, 171)
Deuteranopia (Green-blind)
#A2B1A1 — rgb(162, 177, 161)
Tritanopia (Blue-blind)
#E28A82 — rgb(226, 138, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 84%, 54%);
text
color: hsl(307, 84%, 54%);
border
border: 2px solid hsl(307, 84%, 54%);
gradient light
background: linear-gradient(to right, hsl(307, 84%, 74%), hsl(307, 84%, 54%));
gradient dark
background: linear-gradient(to right, hsl(307, 84%, 54%), hsl(307, 84%, 34%))
hex
background-color: #EC27D5;
tailwind
bg-[hsl(307,84%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 84%, 54%, 0.4);
css variable
--color-primary: hsl(307, 84%, 54%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 84%, 54%)?
HEX: #EC27D5 | RGB: rgb(236, 39, 213) | CMYK: 0%, 83%, 10%, 7% | HSV: 307°, 83%, 93%. Copy any format from the conversion table above.
What colors go well with #EC27D5?
The complementary color is HSL(127, 84%, 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, 84%, 54%) in CSS?
As HSL: color: hsl(307, 84%, 54%); — As HEX: color: #EC27D5; — As RGB: color: rgb(236, 39, 213); — Tailwind CSS: bg-[hsl(307,84%,54%)] — CSS variable: --color-primary: hsl(307, 84%, 54%);