HSL(312, 80%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,80%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 80%, 71%) | color: hsl(312, 80%, 71%) | |
| HEX | #F07AD9 | color: #F07AD9 | |
| RGB | rgb(240, 122, 217) | color: rgb(240, 122, 217) | |
| CMYK | cmyk(0%, 49%, 10%, 6%) | — | |
| HSV | hsv(312, 49%, 94%) | — | |
| HWB | hwb(312 48% 6%) | color: hwb(312 48% 6%) | |
| OKLCH | oklch(0.7442 0.1826 335.13) | color: oklch(0.7442 0.1826 335.13) | |
| Lab | lab(67.62 57.29 -28.4) | color: lab(67.62 57.29 -28.4) | |
| LCH | lch(67.62 63.94 333.63) | color: lch(67.62 63.94 333.63) |
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)
#BDBCC2 — rgb(189, 188, 194)
Deuteranopia (Green-blind)
#C4CDBD — rgb(196, 205, 189)
Tritanopia (Blue-blind)
#EAB0AC — rgb(234, 176, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 80%, 71%);
text
color: hsl(312, 80%, 71%);
border
border: 2px solid hsl(312, 80%, 71%);
gradient light
background: linear-gradient(to right, hsl(312, 80%, 91%), hsl(312, 80%, 71%));
gradient dark
background: linear-gradient(to right, hsl(312, 80%, 71%), hsl(312, 80%, 51%))
hex
background-color: #F07AD9;
tailwind
bg-[hsl(312,80%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 80%, 71%, 0.4);
css variable
--color-primary: hsl(312, 80%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 80%, 71%)?
HEX: #F07AD9 | RGB: rgb(240, 122, 217) | CMYK: 0%, 49%, 10%, 6% | HSV: 312°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #F07AD9?
The complementary color is HSL(132, 80%, 71%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 80%, 71%) in CSS?
As HSL: color: hsl(312, 80%, 71%); — As HEX: color: #F07AD9; — As RGB: color: rgb(240, 122, 217); — Tailwind CSS: bg-[hsl(312,80%,71%)] — CSS variable: --color-primary: hsl(312, 80%, 71%);