HSL(309, 49%, 49%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,49%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 49%, 49%) | color: hsl(309, 49%, 49%) | |
| HEX | #BA40A8 | color: #BA40A8 | |
| RGB | rgb(186, 64, 168) | color: rgb(186, 64, 168) | |
| CMYK | cmyk(0%, 66%, 10%, 27%) | — | |
| HSV | hsv(309, 66%, 73%) | — | |
| HWB | hwb(309 25% 27%) | color: hwb(309 25% 27%) | |
| OKLCH | oklch(0.5788 0.195 334.18) | color: oklch(0.5788 0.195 334.18) | |
| Lab | lab(48.18 60.56 -31.11) | color: lab(48.18 60.56 -31.11) | |
| LCH | lch(48.18 68.08 332.81) | color: lch(48.18 68.08 332.81) |
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)
#85848F — rgb(133, 132, 143)
Deuteranopia (Green-blind)
#8C9589 — rgb(140, 149, 137)
Tritanopia (Blue-blind)
#B47B77 — rgb(180, 123, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 49%, 49%);
text
color: hsl(309, 49%, 49%);
border
border: 2px solid hsl(309, 49%, 49%);
gradient light
background: linear-gradient(to right, hsl(309, 49%, 69%), hsl(309, 49%, 49%));
gradient dark
background: linear-gradient(to right, hsl(309, 49%, 49%), hsl(309, 49%, 29%))
hex
background-color: #BA40A8;
tailwind
bg-[hsl(309,49%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 49%, 49%, 0.4);
css variable
--color-primary: hsl(309, 49%, 49%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 49%, 49%)?
HEX: #BA40A8 | RGB: rgb(186, 64, 168) | CMYK: 0%, 66%, 10%, 27% | HSV: 309°, 66%, 73%. Copy any format from the conversion table above.
What colors go well with #BA40A8?
The complementary color is HSL(129, 49%, 49%). 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, 49%, 49%) in CSS?
As HSL: color: hsl(309, 49%, 49%); — As HEX: color: #BA40A8; — As RGB: color: rgb(186, 64, 168); — Tailwind CSS: bg-[hsl(309,49%,49%)] — CSS variable: --color-primary: hsl(309, 49%, 49%);