HSL(296, 80%, 37%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,80%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 80%, 37%) | color: hsl(296, 80%, 37%) | |
| HEX | #A013AA | color: #A013AA | |
| RGB | rgb(160, 19, 170) | color: rgb(160, 19, 170) | |
| CMYK | cmyk(6%, 89%, 0%, 33%) | — | |
| HSV | hsv(296, 89%, 67%) | — | |
| HWB | hwb(296 7% 33%) | color: hwb(296 7% 33%) | |
| OKLCH | oklch(0.5074 0.2269 324.99) | color: oklch(0.5074 0.2269 324.99) | |
| Lab | lab(39.32 68.5 -46.61) | color: lab(39.32 68.5 -46.61) | |
| LCH | lch(39.32 82.85 325.77) | color: lch(39.32 82.85 325.77) |
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)
#636285 — rgb(99, 98, 133)
Deuteranopia (Green-blind)
#6B767D — rgb(107, 118, 125)
Tritanopia (Blue-blind)
#996962 — rgb(153, 105, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 80%, 37%);
text
color: hsl(296, 80%, 37%);
border
border: 2px solid hsl(296, 80%, 37%);
gradient light
background: linear-gradient(to right, hsl(296, 80%, 57%), hsl(296, 80%, 37%));
gradient dark
background: linear-gradient(to right, hsl(296, 80%, 37%), hsl(296, 80%, 17%))
hex
background-color: #A013AA;
tailwind
bg-[hsl(296,80%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 80%, 37%, 0.4);
css variable
--color-primary: hsl(296, 80%, 37%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 80%, 37%)?
HEX: #A013AA | RGB: rgb(160, 19, 170) | CMYK: 6%, 89%, 0%, 33% | HSV: 296°, 89%, 67%. Copy any format from the conversion table above.
What colors go well with #A013AA?
The complementary color is HSL(116, 80%, 37%). 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, 80%, 37%) in CSS?
As HSL: color: hsl(296, 80%, 37%); — As HEX: color: #A013AA; — As RGB: color: rgb(160, 19, 170); — Tailwind CSS: bg-[hsl(296,80%,37%)] — CSS variable: --color-primary: hsl(296, 80%, 37%);