HSL(291, 91%, 47%)
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,91%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 91%, 47%) | color: hsl(291, 91%, 47%) | |
| HEX | #C40BE5 | color: #C40BE5 | |
| RGB | rgb(196, 11, 229) | color: rgb(196, 11, 229) | |
| CMYK | cmyk(14%, 95%, 0%, 10%) | — | |
| HSV | hsv(291, 95%, 90%) | — | |
| HWB | hwb(291 5% 10%) | color: hwb(291 5% 10%) | |
| OKLCH | oklch(0.5994 0.284 319.93) | color: oklch(0.5994 0.284 319.93) | |
| Lab | lab(49.05 84.78 -64.92) | color: lab(49.05 84.78 -64.92) | |
| LCH | lch(49.05 106.78 322.56) | color: lch(49.05 106.78 322.56) |
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)
#7472B0 — rgb(116, 114, 176)
Deuteranopia (Green-blind)
#7F8DA4 — rgb(127, 141, 164)
Tritanopia (Blue-blind)
#BB877D — rgb(187, 135, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 91%, 47%);
text
color: hsl(291, 91%, 47%);
border
border: 2px solid hsl(291, 91%, 47%);
gradient light
background: linear-gradient(to right, hsl(291, 91%, 67%), hsl(291, 91%, 47%));
gradient dark
background: linear-gradient(to right, hsl(291, 91%, 47%), hsl(291, 91%, 27%))
hex
background-color: #C40BE5;
tailwind
bg-[hsl(291,91%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 91%, 47%, 0.4);
css variable
--color-primary: hsl(291, 91%, 47%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 91%, 47%)?
HEX: #C40BE5 | RGB: rgb(196, 11, 229) | CMYK: 14%, 95%, 0%, 10% | HSV: 291°, 95%, 90%. Copy any format from the conversion table above.
What colors go well with #C40BE5?
The complementary color is HSL(111, 91%, 47%). 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, 91%, 47%) in CSS?
As HSL: color: hsl(291, 91%, 47%); — As HEX: color: #C40BE5; — As RGB: color: rgb(196, 11, 229); — Tailwind CSS: bg-[hsl(291,91%,47%)] — CSS variable: --color-primary: hsl(291, 91%, 47%);