HSL(306, 79%, 61%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,79%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 79%, 61%) | color: hsl(306, 79%, 61%) | |
| HEX | #EA4DDA | color: #EA4DDA | |
| RGB | rgb(234, 77, 218) | color: rgb(234, 77, 218) | |
| CMYK | cmyk(0%, 67%, 7%, 8%) | — | |
| HSV | hsv(306, 67%, 92%) | — | |
| HWB | hwb(306 30% 8%) | color: hwb(306 30% 8%) | |
| OKLCH | oklch(0.685 0.2432 332.27) | color: oklch(0.685 0.2432 332.27) | |
| Lab | lab(59.77 74.99 -41.24) | color: lab(59.77 74.99 -41.24) | |
| LCH | lch(59.77 85.58 331.19) | color: lch(59.77 85.58 331.19) |
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)
#A6A5B8 — rgb(166, 165, 184)
Deuteranopia (Green-blind)
#AFBBB0 — rgb(175, 187, 176)
Tritanopia (Blue-blind)
#E29D97 — rgb(226, 157, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 79%, 61%);
text
color: hsl(306, 79%, 61%);
border
border: 2px solid hsl(306, 79%, 61%);
gradient light
background: linear-gradient(to right, hsl(306, 79%, 81%), hsl(306, 79%, 61%));
gradient dark
background: linear-gradient(to right, hsl(306, 79%, 61%), hsl(306, 79%, 41%))
hex
background-color: #EA4DDA;
tailwind
bg-[hsl(306,79%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 79%, 61%, 0.4);
css variable
--color-primary: hsl(306, 79%, 61%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 79%, 61%)?
HEX: #EA4DDA | RGB: rgb(234, 77, 218) | CMYK: 0%, 67%, 7%, 8% | HSV: 306°, 67%, 92%. Copy any format from the conversion table above.
What colors go well with #EA4DDA?
The complementary color is HSL(126, 79%, 61%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 79%, 61%) in CSS?
As HSL: color: hsl(306, 79%, 61%); — As HEX: color: #EA4DDA; — As RGB: color: rgb(234, 77, 218); — Tailwind CSS: bg-[hsl(306,79%,61%)] — CSS variable: --color-primary: hsl(306, 79%, 61%);