HSL(310, 60%, 72%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,60%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 60%, 72%) | color: hsl(310, 60%, 72%) | |
| HEX | #E28DD4 | color: #E28DD4 | |
| RGB | rgb(226, 141, 212) | color: rgb(226, 141, 212) | |
| CMYK | cmyk(0%, 38%, 6%, 11%) | — | |
| HSV | hsv(310, 38%, 89%) | — | |
| HWB | hwb(310 55% 11%) | color: hwb(310 55% 11%) | |
| OKLCH | oklch(0.7537 0.1364 333.01) | color: oklch(0.7537 0.1364 333.01) | |
| Lab | lab(69.45 42.63 -22.96) | color: lab(69.45 42.63 -22.96) | |
| LCH | lch(69.45 48.42 331.69) | color: lch(69.45 48.42 331.69) |
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)
#BDBCC3 — rgb(189, 188, 195)
Deuteranopia (Green-blind)
#C2C9BF — rgb(194, 201, 191)
Tritanopia (Blue-blind)
#DEB5B2 — rgb(222, 181, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 60%, 72%);
text
color: hsl(310, 60%, 72%);
border
border: 2px solid hsl(310, 60%, 72%);
gradient light
background: linear-gradient(to right, hsl(310, 60%, 92%), hsl(310, 60%, 72%));
gradient dark
background: linear-gradient(to right, hsl(310, 60%, 72%), hsl(310, 60%, 52%))
hex
background-color: #E28DD4;
tailwind
bg-[hsl(310,60%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 60%, 72%, 0.4);
css variable
--color-primary: hsl(310, 60%, 72%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 60%, 72%)?
HEX: #E28DD4 | RGB: rgb(226, 141, 212) | CMYK: 0%, 38%, 6%, 11% | HSV: 310°, 38%, 89%. Copy any format from the conversion table above.
What colors go well with #E28DD4?
The complementary color is HSL(130, 60%, 72%). 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, 60%, 72%) in CSS?
As HSL: color: hsl(310, 60%, 72%); — As HEX: color: #E28DD4; — As RGB: color: rgb(226, 141, 212); — Tailwind CSS: bg-[hsl(310,60%,72%)] — CSS variable: --color-primary: hsl(310, 60%, 72%);