HSL(296, 96%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,96%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 96%, 33%) | color: hsl(296, 96%, 33%) | |
| HEX | #9A03A5 | color: #9A03A5 | |
| RGB | rgb(154, 3, 165) | color: rgb(154, 3, 165) | |
| CMYK | cmyk(7%, 98%, 0%, 35%) | — | |
| HSV | hsv(296, 98%, 65%) | — | |
| HWB | hwb(296 1% 35%) | color: hwb(296 1% 35%) | |
| OKLCH | oklch(0.4896 0.2278 324.7) | color: oklch(0.4896 0.2278 324.7) | |
| Lab | lab(37.21 68.77 -47.05) | color: lab(37.21 68.77 -47.05) | |
| LCH | lch(37.21 83.32 325.62) | color: lch(37.21 83.32 325.62) |
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)
#59577E — rgb(89, 87, 126)
Deuteranopia (Green-blind)
#616D74 — rgb(97, 109, 116)
Tritanopia (Blue-blind)
#925F58 — rgb(146, 95, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 96%, 33%);
text
color: hsl(296, 96%, 33%);
border
border: 2px solid hsl(296, 96%, 33%);
gradient light
background: linear-gradient(to right, hsl(296, 96%, 53%), hsl(296, 96%, 33%));
gradient dark
background: linear-gradient(to right, hsl(296, 96%, 33%), hsl(296, 96%, 13%))
hex
background-color: #9A03A5;
tailwind
bg-[hsl(296,96%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 96%, 33%, 0.4);
css variable
--color-primary: hsl(296, 96%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 96%, 33%)?
HEX: #9A03A5 | RGB: rgb(154, 3, 165) | CMYK: 7%, 98%, 0%, 35% | HSV: 296°, 98%, 65%. Copy any format from the conversion table above.
What colors go well with #9A03A5?
The complementary color is HSL(116, 96%, 33%). 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, 96%, 33%) in CSS?
As HSL: color: hsl(296, 96%, 33%); — As HEX: color: #9A03A5; — As RGB: color: rgb(154, 3, 165); — Tailwind CSS: bg-[hsl(296,96%,33%)] — CSS variable: --color-primary: hsl(296, 96%, 33%);