HSL(299, 50%, 43%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,50%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 50%, 43%) | color: hsl(299, 50%, 43%) | |
| HEX | #A337A4 | color: #A337A4 | |
| RGB | rgb(163, 55, 164) | color: rgb(163, 55, 164) | |
| CMYK | cmyk(1%, 66%, 0%, 36%) | — | |
| HSV | hsv(299, 66%, 64%) | — | |
| HWB | hwb(299 22% 36%) | color: hwb(299 22% 36%) | |
| OKLCH | oklch(0.5339 0.1904 327.46) | color: oklch(0.5339 0.1904 327.46) | |
| Lab | lab(43.06 57.76 -37.03) | color: lab(43.06 57.76 -37.03) | |
| LCH | lch(43.06 68.61 327.34) | color: lch(43.06 68.61 327.34) |
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)
#74738A — rgb(116, 115, 138)
Deuteranopia (Green-blind)
#7B8383 — rgb(123, 131, 131)
Tritanopia (Blue-blind)
#9E7570 — rgb(158, 117, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 50%, 43%);
text
color: hsl(299, 50%, 43%);
border
border: 2px solid hsl(299, 50%, 43%);
gradient light
background: linear-gradient(to right, hsl(299, 50%, 63%), hsl(299, 50%, 43%));
gradient dark
background: linear-gradient(to right, hsl(299, 50%, 43%), hsl(299, 50%, 23%))
hex
background-color: #A337A4;
tailwind
bg-[hsl(299,50%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 50%, 43%, 0.4);
css variable
--color-primary: hsl(299, 50%, 43%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 50%, 43%)?
HEX: #A337A4 | RGB: rgb(163, 55, 164) | CMYK: 1%, 66%, 0%, 36% | HSV: 299°, 66%, 64%. Copy any format from the conversion table above.
What colors go well with #A337A4?
The complementary color is HSL(119, 50%, 43%). 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, 50%, 43%) in CSS?
As HSL: color: hsl(299, 50%, 43%); — As HEX: color: #A337A4; — As RGB: color: rgb(163, 55, 164); — Tailwind CSS: bg-[hsl(299,50%,43%)] — CSS variable: --color-primary: hsl(299, 50%, 43%);