HSL(310, 80%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,80%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 80%, 65%) | color: hsl(310, 80%, 65%) | |
| HEX | #ED5ED5 | color: #ED5ED5 | |
| RGB | rgb(237, 94, 213) | color: rgb(237, 94, 213) | |
| CMYK | cmyk(0%, 60%, 10%, 7%) | — | |
| HSV | hsv(310, 60%, 93%) | — | |
| HWB | hwb(310 37% 7%) | color: hwb(310 37% 7%) | |
| OKLCH | oklch(0.704 0.2194 334.79) | color: oklch(0.704 0.2194 334.79) | |
| Lab | lab(62.35 68.41 -34.34) | color: lab(62.35 68.41 -34.34) | |
| LCH | lch(62.35 76.55 333.34) | color: lch(62.35 76.55 333.34) |
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)
#AFAEB8 — rgb(175, 174, 184)
Deuteranopia (Green-blind)
#B7C2B1 — rgb(183, 194, 177)
Tritanopia (Blue-blind)
#E6A19C — rgb(230, 161, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 80%, 65%);
text
color: hsl(310, 80%, 65%);
border
border: 2px solid hsl(310, 80%, 65%);
gradient light
background: linear-gradient(to right, hsl(310, 80%, 85%), hsl(310, 80%, 65%));
gradient dark
background: linear-gradient(to right, hsl(310, 80%, 65%), hsl(310, 80%, 45%))
hex
background-color: #ED5ED5;
tailwind
bg-[hsl(310,80%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 80%, 65%, 0.4);
css variable
--color-primary: hsl(310, 80%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 80%, 65%)?
HEX: #ED5ED5 | RGB: rgb(237, 94, 213) | CMYK: 0%, 60%, 10%, 7% | HSV: 310°, 60%, 93%. Copy any format from the conversion table above.
What colors go well with #ED5ED5?
The complementary color is HSL(130, 80%, 65%). 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%, 65%) in CSS?
As HSL: color: hsl(310, 80%, 65%); — As HEX: color: #ED5ED5; — As RGB: color: rgb(237, 94, 213); — Tailwind CSS: bg-[hsl(310,80%,65%)] — CSS variable: --color-primary: hsl(310, 80%, 65%);