HSL(307, 80%, 54%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,80%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 80%, 54%) | color: hsl(307, 80%, 54%) | |
| HEX | #E82CD2 | color: #E82CD2 | |
| RGB | rgb(232, 44, 210) | color: rgb(232, 44, 210) | |
| CMYK | cmyk(0%, 81%, 9%, 9%) | — | |
| HSV | hsv(307, 81%, 91%) | — | |
| HWB | hwb(307 17% 9%) | color: hwb(307 17% 9%) | |
| OKLCH | oklch(0.6539 0.2684 333.82) | color: oklch(0.6539 0.2684 333.82) | |
| Lab | lab(55.7 82.98 -43.13) | color: lab(55.7 82.98 -43.13) | |
| LCH | lch(55.7 93.52 332.54) | color: lch(55.7 93.52 332.54) |
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)
#9795AA — rgb(151, 149, 170)
Deuteranopia (Green-blind)
#A2B0A0 — rgb(162, 176, 160)
Tritanopia (Blue-blind)
#DF8A83 — rgb(223, 138, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 80%, 54%);
text
color: hsl(307, 80%, 54%);
border
border: 2px solid hsl(307, 80%, 54%);
gradient light
background: linear-gradient(to right, hsl(307, 80%, 74%), hsl(307, 80%, 54%));
gradient dark
background: linear-gradient(to right, hsl(307, 80%, 54%), hsl(307, 80%, 34%))
hex
background-color: #E82CD2;
tailwind
bg-[hsl(307,80%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 80%, 54%, 0.4);
css variable
--color-primary: hsl(307, 80%, 54%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 80%, 54%)?
HEX: #E82CD2 | RGB: rgb(232, 44, 210) | CMYK: 0%, 81%, 9%, 9% | HSV: 307°, 81%, 91%. Copy any format from the conversion table above.
What colors go well with #E82CD2?
The complementary color is HSL(127, 80%, 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, 80%, 54%) in CSS?
As HSL: color: hsl(307, 80%, 54%); — As HEX: color: #E82CD2; — As RGB: color: rgb(232, 44, 210); — Tailwind CSS: bg-[hsl(307,80%,54%)] — CSS variable: --color-primary: hsl(307, 80%, 54%);