HSL(291, 92%, 41%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,92%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 92%, 41%) | color: hsl(291, 92%, 41%) | |
| HEX | #AC08C9 | color: #AC08C9 | |
| RGB | rgb(172, 8, 201) | color: rgb(172, 8, 201) | |
| CMYK | cmyk(14%, 96%, 0%, 21%) | — | |
| HSV | hsv(291, 96%, 79%) | — | |
| HWB | hwb(291 3% 21%) | color: hwb(291 3% 21%) | |
| OKLCH | oklch(0.5437 0.2576 320) | color: oklch(0.5437 0.2576 320) | |
| Lab | lab(43.01 76.92 -58.82) | color: lab(43.01 76.92 -58.82) | |
| LCH | lch(43.01 96.83 322.6) | color: lch(43.01 96.83 322.6) |
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)
#65649A — rgb(101, 100, 154)
Deuteranopia (Green-blind)
#6F7B8F — rgb(111, 123, 143)
Tritanopia (Blue-blind)
#A4756D — rgb(164, 117, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 92%, 41%);
text
color: hsl(291, 92%, 41%);
border
border: 2px solid hsl(291, 92%, 41%);
gradient light
background: linear-gradient(to right, hsl(291, 92%, 61%), hsl(291, 92%, 41%));
gradient dark
background: linear-gradient(to right, hsl(291, 92%, 41%), hsl(291, 92%, 21%))
hex
background-color: #AC08C9;
tailwind
bg-[hsl(291,92%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 92%, 41%, 0.4);
css variable
--color-primary: hsl(291, 92%, 41%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 92%, 41%)?
HEX: #AC08C9 | RGB: rgb(172, 8, 201) | CMYK: 14%, 96%, 0%, 21% | HSV: 291°, 96%, 79%. Copy any format from the conversion table above.
What colors go well with #AC08C9?
The complementary color is HSL(111, 92%, 41%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 92%, 41%) in CSS?
As HSL: color: hsl(291, 92%, 41%); — As HEX: color: #AC08C9; — As RGB: color: rgb(172, 8, 201); — Tailwind CSS: bg-[hsl(291,92%,41%)] — CSS variable: --color-primary: hsl(291, 92%, 41%);