HSL(303, 80%, 60%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,80%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 80%, 60%) | color: hsl(303, 80%, 60%) | |
| HEX | #EB47E2 | color: #EB47E2 | |
| RGB | rgb(235, 71, 226) | color: rgb(235, 71, 226) | |
| CMYK | cmyk(0%, 70%, 4%, 8%) | — | |
| HSV | hsv(303, 70%, 92%) | — | |
| HWB | hwb(303 28% 8%) | color: hwb(303 28% 8%) | |
| OKLCH | oklch(0.6853 0.2562 330.32) | color: oklch(0.6853 0.2562 330.32) | |
| Lab | lab(59.58 78.49 -46.02) | color: lab(59.58 78.49 -46.02) | |
| LCH | lch(59.58 90.99 329.62) | color: lch(59.58 90.99 329.62) |
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)
#A4A3BC — rgb(164, 163, 188)
Deuteranopia (Green-blind)
#AEBAB4 — rgb(174, 186, 180)
Tritanopia (Blue-blind)
#E39F98 — rgb(227, 159, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 80%, 60%);
text
color: hsl(303, 80%, 60%);
border
border: 2px solid hsl(303, 80%, 60%);
gradient light
background: linear-gradient(to right, hsl(303, 80%, 80%), hsl(303, 80%, 60%));
gradient dark
background: linear-gradient(to right, hsl(303, 80%, 60%), hsl(303, 80%, 40%))
hex
background-color: #EB47E2;
tailwind
bg-[hsl(303,80%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 80%, 60%, 0.4);
css variable
--color-primary: hsl(303, 80%, 60%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 80%, 60%)?
HEX: #EB47E2 | RGB: rgb(235, 71, 226) | CMYK: 0%, 70%, 4%, 8% | HSV: 303°, 70%, 92%. Copy any format from the conversion table above.
What colors go well with #EB47E2?
The complementary color is HSL(123, 80%, 60%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 80%, 60%) in CSS?
As HSL: color: hsl(303, 80%, 60%); — As HEX: color: #EB47E2; — As RGB: color: rgb(235, 71, 226); — Tailwind CSS: bg-[hsl(303,80%,60%)] — CSS variable: --color-primary: hsl(303, 80%, 60%);