HSL(299, 29%, 50%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,29%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 29%, 50%) | color: hsl(299, 29%, 50%) | |
| HEX | #A35BA4 | color: #A35BA4 | |
| RGB | rgb(163, 91, 164) | color: rgb(163, 91, 164) | |
| CMYK | cmyk(1%, 45%, 0%, 36%) | — | |
| HSV | hsv(299, 45%, 64%) | — | |
| HWB | hwb(299 35% 36%) | color: hwb(299 35% 36%) | |
| OKLCH | oklch(0.5807 0.1346 326.64) | color: oklch(0.5807 0.1346 326.64) | |
| Lab | lab(49.44 40.62 -27.04) | color: lab(49.44 40.62 -27.04) | |
| LCH | lch(49.44 48.8 326.35) | color: lch(49.44 48.8 326.35) |
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)
#848392 — rgb(132, 131, 146)
Deuteranopia (Green-blind)
#888D8E — rgb(136, 141, 142)
Tritanopia (Blue-blind)
#9F8481 — rgb(159, 132, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 29%, 50%);
text
color: hsl(299, 29%, 50%);
border
border: 2px solid hsl(299, 29%, 50%);
gradient light
background: linear-gradient(to right, hsl(299, 29%, 70%), hsl(299, 29%, 50%));
gradient dark
background: linear-gradient(to right, hsl(299, 29%, 50%), hsl(299, 29%, 30%))
hex
background-color: #A35BA4;
tailwind
bg-[hsl(299,29%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 29%, 50%, 0.4);
css variable
--color-primary: hsl(299, 29%, 50%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 29%, 50%)?
HEX: #A35BA4 | RGB: rgb(163, 91, 164) | CMYK: 1%, 45%, 0%, 36% | HSV: 299°, 45%, 64%. Copy any format from the conversion table above.
What colors go well with #A35BA4?
The complementary color is HSL(119, 29%, 50%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 29%, 50%) in CSS?
As HSL: color: hsl(299, 29%, 50%); — As HEX: color: #A35BA4; — As RGB: color: rgb(163, 91, 164); — Tailwind CSS: bg-[hsl(299,29%,50%)] — CSS variable: --color-primary: hsl(299, 29%, 50%);