HSL(310, 80%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,80%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 80%, 63%) | color: hsl(310, 80%, 63%) | |
| HEX | #EC55D3 | color: #EC55D3 | |
| RGB | rgb(236, 85, 211) | color: rgb(236, 85, 211) | |
| CMYK | cmyk(0%, 64%, 11%, 7%) | — | |
| HSV | hsv(310, 64%, 93%) | — | |
| HWB | hwb(310 33% 7%) | color: hwb(310 33% 7%) | |
| OKLCH | oklch(0.6922 0.2294 334.96) | color: oklch(0.6922 0.2294 334.96) | |
| Lab | lab(60.81 71.45 -35.62) | color: lab(60.81 71.45 -35.62) | |
| LCH | lch(60.81 79.84 333.5) | color: lch(60.81 79.84 333.5) |
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)
#ABA9B5 — rgb(171, 169, 181)
Deuteranopia (Green-blind)
#B3BFAD — rgb(179, 191, 173)
Tritanopia (Blue-blind)
#E49C97 — rgb(228, 156, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 80%, 63%);
text
color: hsl(310, 80%, 63%);
border
border: 2px solid hsl(310, 80%, 63%);
gradient light
background: linear-gradient(to right, hsl(310, 80%, 83%), hsl(310, 80%, 63%));
gradient dark
background: linear-gradient(to right, hsl(310, 80%, 63%), hsl(310, 80%, 43%))
hex
background-color: #EC55D3;
tailwind
bg-[hsl(310,80%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 80%, 63%, 0.4);
css variable
--color-primary: hsl(310, 80%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 80%, 63%)?
HEX: #EC55D3 | RGB: rgb(236, 85, 211) | CMYK: 0%, 64%, 11%, 7% | HSV: 310°, 64%, 93%. Copy any format from the conversion table above.
What colors go well with #EC55D3?
The complementary color is HSL(130, 80%, 63%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 80%, 63%) in CSS?
As HSL: color: hsl(310, 80%, 63%); — As HEX: color: #EC55D3; — As RGB: color: rgb(236, 85, 211); — Tailwind CSS: bg-[hsl(310,80%,63%)] — CSS variable: --color-primary: hsl(310, 80%, 63%);