HSL(310, 80%, 72%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,80%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 80%, 72%) | color: hsl(310, 80%, 72%) | |
| HEX | #F17EDE | color: #F17EDE | |
| RGB | rgb(241, 126, 222) | color: rgb(241, 126, 222) | |
| CMYK | cmyk(0%, 48%, 8%, 5%) | — | |
| HSV | hsv(310, 48%, 95%) | — | |
| HWB | hwb(310 49% 5%) | color: hwb(310 49% 5%) | |
| OKLCH | oklch(0.753 0.1809 333.74) | color: oklch(0.753 0.1809 333.74) | |
| Lab | lab(68.68 56.46 -29.53) | color: lab(68.68 56.46 -29.53) | |
| LCH | lch(68.68 63.72 332.39) | color: lch(68.68 63.72 332.39) |
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)
#BFBEC7 — rgb(191, 190, 199)
Deuteranopia (Green-blind)
#C6CFC1 — rgb(198, 207, 193)
Tritanopia (Blue-blind)
#EBB4B0 — rgb(235, 180, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 80%, 72%);
text
color: hsl(310, 80%, 72%);
border
border: 2px solid hsl(310, 80%, 72%);
gradient light
background: linear-gradient(to right, hsl(310, 80%, 92%), hsl(310, 80%, 72%));
gradient dark
background: linear-gradient(to right, hsl(310, 80%, 72%), hsl(310, 80%, 52%))
hex
background-color: #F17EDE;
tailwind
bg-[hsl(310,80%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 80%, 72%, 0.4);
css variable
--color-primary: hsl(310, 80%, 72%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 80%, 72%)?
HEX: #F17EDE | RGB: rgb(241, 126, 222) | CMYK: 0%, 48%, 8%, 5% | HSV: 310°, 48%, 95%. Copy any format from the conversion table above.
What colors go well with #F17EDE?
The complementary color is HSL(130, 80%, 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, 80%, 72%) in CSS?
As HSL: color: hsl(310, 80%, 72%); — As HEX: color: #F17EDE; — As RGB: color: rgb(241, 126, 222); — Tailwind CSS: bg-[hsl(310,80%,72%)] — CSS variable: --color-primary: hsl(310, 80%, 72%);