HSL(297, 100%, 32%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,100%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 100%, 32%) | color: hsl(297, 100%, 32%) | |
| HEX | #9B00A3 | color: #9B00A3 | |
| RGB | rgb(155, 0, 163) | color: rgb(155, 0, 163) | |
| CMYK | cmyk(5%, 100%, 0%, 36%) | — | |
| HSV | hsv(297, 100%, 64%) | — | |
| HWB | hwb(297 0% 36%) | color: hwb(297 0% 36%) | |
| OKLCH | oklch(0.4891 0.2278 325.71) | color: oklch(0.4891 0.2278 325.71) | |
| Lab | lab(37.14 68.97 -45.95) | color: lab(37.14 68.97 -45.95) | |
| LCH | lch(37.14 82.87 326.33) | color: lch(37.14 82.87 326.33) |
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)
#58567C — rgb(88, 86, 124)
Deuteranopia (Green-blind)
#616D72 — rgb(97, 109, 114)
Tritanopia (Blue-blind)
#935C56 — rgb(147, 92, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 100%, 32%);
text
color: hsl(297, 100%, 32%);
border
border: 2px solid hsl(297, 100%, 32%);
gradient light
background: linear-gradient(to right, hsl(297, 100%, 52%), hsl(297, 100%, 32%));
gradient dark
background: linear-gradient(to right, hsl(297, 100%, 32%), hsl(297, 100%, 12%))
hex
background-color: #9B00A3;
tailwind
bg-[hsl(297,100%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 100%, 32%, 0.4);
css variable
--color-primary: hsl(297, 100%, 32%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 100%, 32%)?
HEX: #9B00A3 | RGB: rgb(155, 0, 163) | CMYK: 5%, 100%, 0%, 36% | HSV: 297°, 100%, 64%. Copy any format from the conversion table above.
What colors go well with #9B00A3?
The complementary color is HSL(117, 100%, 32%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 100%, 32%) in CSS?
As HSL: color: hsl(297, 100%, 32%); — As HEX: color: #9B00A3; — As RGB: color: rgb(155, 0, 163); — Tailwind CSS: bg-[hsl(297,100%,32%)] — CSS variable: --color-primary: hsl(297, 100%, 32%);