HSL(311, 81%, 56%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,81%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 81%, 56%) | color: hsl(311, 81%, 56%) | |
| HEX | #EA34C8 | color: #EA34C8 | |
| RGB | rgb(234, 52, 200) | color: rgb(234, 52, 200) | |
| CMYK | cmyk(0%, 78%, 15%, 8%) | — | |
| HSV | hsv(311, 78%, 92%) | — | |
| HWB | hwb(311 20% 8%) | color: hwb(311 20% 8%) | |
| OKLCH | oklch(0.6567 0.2567 337.17) | color: oklch(0.6567 0.2567 337.17) | |
| Lab | lab(56.21 80.13 -36.58) | color: lab(56.21 80.13 -36.58) | |
| LCH | lch(56.21 88.08 335.46) | color: lch(56.21 88.08 335.46) |
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)
#9B9AA4 — rgb(155, 154, 164)
Deuteranopia (Green-blind)
#A6B39C — rgb(166, 179, 156)
Tritanopia (Blue-blind)
#E18882 — rgb(225, 136, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 81%, 56%);
text
color: hsl(311, 81%, 56%);
border
border: 2px solid hsl(311, 81%, 56%);
gradient light
background: linear-gradient(to right, hsl(311, 81%, 76%), hsl(311, 81%, 56%));
gradient dark
background: linear-gradient(to right, hsl(311, 81%, 56%), hsl(311, 81%, 36%))
hex
background-color: #EA34C8;
tailwind
bg-[hsl(311,81%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 81%, 56%, 0.4);
css variable
--color-primary: hsl(311, 81%, 56%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 81%, 56%)?
HEX: #EA34C8 | RGB: rgb(234, 52, 200) | CMYK: 0%, 78%, 15%, 8% | HSV: 311°, 78%, 92%. Copy any format from the conversion table above.
What colors go well with #EA34C8?
The complementary color is HSL(131, 81%, 56%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 81%, 56%) in CSS?
As HSL: color: hsl(311, 81%, 56%); — As HEX: color: #EA34C8; — As RGB: color: rgb(234, 52, 200); — Tailwind CSS: bg-[hsl(311,81%,56%)] — CSS variable: --color-primary: hsl(311, 81%, 56%);