HSL(294, 80%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(294,80%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(294, 80%, 33%) | color: hsl(294, 80%, 33%) | |
| HEX | #8A1197 | color: #8A1197 | |
| RGB | rgb(138, 17, 151) | color: rgb(138, 17, 151) | |
| CMYK | cmyk(9%, 89%, 0%, 41%) | — | |
| HSV | hsv(294, 89%, 59%) | — | |
| HWB | hwb(294 6% 41%) | color: hwb(294 6% 41%) | |
| OKLCH | oklch(0.4592 0.2056 323.42) | color: oklch(0.4592 0.2056 323.42) | |
| Lab | lab(34.07 61.81 -43.78) | color: lab(34.07 61.81 -43.78) | |
| LCH | lch(34.07 75.74 324.69) | color: lch(34.07 75.74 324.69) |
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)
#565577 — rgb(86, 85, 119)
Deuteranopia (Green-blind)
#5D666F — rgb(93, 102, 111)
Tritanopia (Blue-blind)
#845D57 — rgb(132, 93, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(294, 80%, 33%);
text
color: hsl(294, 80%, 33%);
border
border: 2px solid hsl(294, 80%, 33%);
gradient light
background: linear-gradient(to right, hsl(294, 80%, 53%), hsl(294, 80%, 33%));
gradient dark
background: linear-gradient(to right, hsl(294, 80%, 33%), hsl(294, 80%, 13%))
hex
background-color: #8A1197;
tailwind
bg-[hsl(294,80%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(294, 80%, 33%, 0.4);
css variable
--color-primary: hsl(294, 80%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(294, 80%, 33%)?
HEX: #8A1197 | RGB: rgb(138, 17, 151) | CMYK: 9%, 89%, 0%, 41% | HSV: 294°, 89%, 59%. Copy any format from the conversion table above.
What colors go well with #8A1197?
The complementary color is HSL(114, 80%, 33%). For a triadic harmony, use hues 294°, 54°, and 174°. For analogous combinations, try hues 264° and 324°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(294, 80%, 33%) in CSS?
As HSL: color: hsl(294, 80%, 33%); — As HEX: color: #8A1197; — As RGB: color: rgb(138, 17, 151); — Tailwind CSS: bg-[hsl(294,80%,33%)] — CSS variable: --color-primary: hsl(294, 80%, 33%);