HSL(309, 65%, 34%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,65%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 65%, 34%) | color: hsl(309, 65%, 34%) | |
| HEX | #8F1E7E | color: #8F1E7E | |
| RGB | rgb(143, 30, 126) | color: rgb(143, 30, 126) | |
| CMYK | cmyk(0%, 79%, 12%, 44%) | — | |
| HSV | hsv(309, 79%, 56%) | — | |
| HWB | hwb(309 12% 44%) | color: hwb(309 12% 44%) | |
| OKLCH | oklch(0.4596 0.1791 335.18) | color: oklch(0.4596 0.1791 335.18) | |
| Lab | lab(34.55 55.62 -27.5) | color: lab(34.55 55.62 -27.5) | |
| LCH | lch(34.55 62.05 333.69) | color: lch(34.55 62.05 333.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5E5D67 — rgb(94, 93, 103)
Deuteranopia (Green-blind)
#656D61 — rgb(101, 109, 97)
Tritanopia (Blue-blind)
#895450 — rgb(137, 84, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 65%, 34%);
text
color: hsl(309, 65%, 34%);
border
border: 2px solid hsl(309, 65%, 34%);
gradient light
background: linear-gradient(to right, hsl(309, 65%, 54%), hsl(309, 65%, 34%));
gradient dark
background: linear-gradient(to right, hsl(309, 65%, 34%), hsl(309, 65%, 14%))
hex
background-color: #8F1E7E;
tailwind
bg-[hsl(309,65%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 65%, 34%, 0.4);
css variable
--color-primary: hsl(309, 65%, 34%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 65%, 34%)?
HEX: #8F1E7E | RGB: rgb(143, 30, 126) | CMYK: 0%, 79%, 12%, 44% | HSV: 309°, 79%, 56%. Copy any format from the conversion table above.
What colors go well with #8F1E7E?
The complementary color is HSL(129, 65%, 34%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 65%, 34%) in CSS?
As HSL: color: hsl(309, 65%, 34%); — As HEX: color: #8F1E7E; — As RGB: color: rgb(143, 30, 126); — Tailwind CSS: bg-[hsl(309,65%,34%)] — CSS variable: --color-primary: hsl(309, 65%, 34%);