HSL(296, 40%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 40%, 48%) | color: hsl(296, 40%, 48%) | |
| HEX | #A549AB | color: #A549AB | |
| RGB | rgb(165, 73, 171) | color: rgb(165, 73, 171) | |
| CMYK | cmyk(4%, 57%, 0%, 33%) | — | |
| HSV | hsv(296, 57%, 67%) | — | |
| HWB | hwb(296 29% 33%) | color: hwb(296 29% 33%) | |
| OKLCH | oklch(0.5613 0.1722 325.15) | color: oklch(0.5613 0.1722 325.15) | |
| Lab | lab(46.59 51.65 -35.6) | color: lab(46.59 51.65 -35.6) | |
| LCH | lch(46.59 62.73 325.42) | color: lch(46.59 62.73 325.42) |
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)
#7D7C93 — rgb(125, 124, 147)
Deuteranopia (Green-blind)
#83898E — rgb(131, 137, 142)
Tritanopia (Blue-blind)
#A0817C — rgb(160, 129, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 40%, 48%);
text
color: hsl(296, 40%, 48%);
border
border: 2px solid hsl(296, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(296, 40%, 68%), hsl(296, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(296, 40%, 48%), hsl(296, 40%, 28%))
hex
background-color: #A549AB;
tailwind
bg-[hsl(296,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 40%, 48%, 0.4);
css variable
--color-primary: hsl(296, 40%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 40%, 48%)?
HEX: #A549AB | RGB: rgb(165, 73, 171) | CMYK: 4%, 57%, 0%, 33% | HSV: 296°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #A549AB?
The complementary color is HSL(116, 40%, 48%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 40%, 48%) in CSS?
As HSL: color: hsl(296, 40%, 48%); — As HEX: color: #A549AB; — As RGB: color: rgb(165, 73, 171); — Tailwind CSS: bg-[hsl(296,40%,48%)] — CSS variable: --color-primary: hsl(296, 40%, 48%);