HSL(310, 72%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,72%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 72%, 73%) | color: hsl(310, 72%, 73%) | |
| HEX | #EC89DB | color: #EC89DB | |
| RGB | rgb(236, 137, 219) | color: rgb(236, 137, 219) | |
| CMYK | cmyk(0%, 42%, 7%, 7%) | — | |
| HSV | hsv(310, 42%, 93%) | — | |
| HWB | hwb(310 54% 7%) | color: hwb(310 54% 7%) | |
| OKLCH | oklch(0.7617 0.1567 333.6) | color: oklch(0.7617 0.1567 333.6) | |
| Lab | lab(70.06 49 -25.79) | color: lab(70.06 49 -25.79) | |
| LCH | lch(70.06 55.37 332.24) | color: lch(70.06 55.37 332.24) |
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)
#C1C0C7 — rgb(193, 192, 199)
Deuteranopia (Green-blind)
#C7CEC2 — rgb(199, 206, 194)
Tritanopia (Blue-blind)
#E7B7B4 — rgb(231, 183, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 72%, 73%);
text
color: hsl(310, 72%, 73%);
border
border: 2px solid hsl(310, 72%, 73%);
gradient light
background: linear-gradient(to right, hsl(310, 72%, 93%), hsl(310, 72%, 73%));
gradient dark
background: linear-gradient(to right, hsl(310, 72%, 73%), hsl(310, 72%, 53%))
hex
background-color: #EC89DB;
tailwind
bg-[hsl(310,72%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 72%, 73%, 0.4);
css variable
--color-primary: hsl(310, 72%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 72%, 73%)?
HEX: #EC89DB | RGB: rgb(236, 137, 219) | CMYK: 0%, 42%, 7%, 7% | HSV: 310°, 42%, 93%. Copy any format from the conversion table above.
What colors go well with #EC89DB?
The complementary color is HSL(130, 72%, 73%). 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, 72%, 73%) in CSS?
As HSL: color: hsl(310, 72%, 73%); — As HEX: color: #EC89DB; — As RGB: color: rgb(236, 137, 219); — Tailwind CSS: bg-[hsl(310,72%,73%)] — CSS variable: --color-primary: hsl(310, 72%, 73%);