HSL(293, 29%, 49%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,29%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 29%, 49%) | color: hsl(293, 29%, 49%) | |
| HEX | #9959A1 | color: #9959A1 | |
| RGB | rgb(153, 89, 161) | color: rgb(153, 89, 161) | |
| CMYK | cmyk(5%, 45%, 0%, 37%) | — | |
| HSV | hsv(293, 45%, 63%) | — | |
| HWB | hwb(293 35% 37%) | color: hwb(293 35% 37%) | |
| OKLCH | oklch(0.5639 0.1287 322.97) | color: oklch(0.5639 0.1287 322.97) | |
| Lab | lab(47.61 38.02 -28.2) | color: lab(47.61 38.02 -28.2) | |
| LCH | lch(47.61 47.34 323.44) | color: lch(47.61 47.34 323.44) |
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)
#7D7D90 — rgb(125, 125, 144)
Deuteranopia (Green-blind)
#81868B — rgb(129, 134, 139)
Tritanopia (Blue-blind)
#96827F — rgb(150, 130, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 29%, 49%);
text
color: hsl(293, 29%, 49%);
border
border: 2px solid hsl(293, 29%, 49%);
gradient light
background: linear-gradient(to right, hsl(293, 29%, 69%), hsl(293, 29%, 49%));
gradient dark
background: linear-gradient(to right, hsl(293, 29%, 49%), hsl(293, 29%, 29%))
hex
background-color: #9959A1;
tailwind
bg-[hsl(293,29%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 29%, 49%, 0.4);
css variable
--color-primary: hsl(293, 29%, 49%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 29%, 49%)?
HEX: #9959A1 | RGB: rgb(153, 89, 161) | CMYK: 5%, 45%, 0%, 37% | HSV: 293°, 45%, 63%. Copy any format from the conversion table above.
What colors go well with #9959A1?
The complementary color is HSL(113, 29%, 49%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 29%, 49%) in CSS?
As HSL: color: hsl(293, 29%, 49%); — As HEX: color: #9959A1; — As RGB: color: rgb(153, 89, 161); — Tailwind CSS: bg-[hsl(293,29%,49%)] — CSS variable: --color-primary: hsl(293, 29%, 49%);