HSL(291, 94%, 49%)
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,94%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 94%, 49%) | color: hsl(291, 94%, 49%) | |
| HEX | #CF07F2 | color: #CF07F2 | |
| RGB | rgb(207, 7, 242) | color: rgb(207, 7, 242) | |
| CMYK | cmyk(14%, 97%, 0%, 5%) | — | |
| HSV | hsv(291, 97%, 95%) | — | |
| HWB | hwb(291 3% 5%) | color: hwb(291 3% 5%) | |
| OKLCH | oklch(0.6236 0.2972 319.91) | color: oklch(0.6236 0.2972 319.91) | |
| Lab | lab(51.65 88.76 -67.97) | color: lab(51.65 88.76 -67.97) | |
| LCH | lch(51.65 111.8 322.56) | color: lch(51.65 111.8 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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7877B9 — rgb(120, 119, 185)
Deuteranopia (Green-blind)
#8493AC — rgb(132, 147, 172)
Tritanopia (Blue-blind)
#C58C82 — rgb(197, 140, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 94%, 49%);
text
color: hsl(291, 94%, 49%);
border
border: 2px solid hsl(291, 94%, 49%);
gradient light
background: linear-gradient(to right, hsl(291, 94%, 69%), hsl(291, 94%, 49%));
gradient dark
background: linear-gradient(to right, hsl(291, 94%, 49%), hsl(291, 94%, 29%))
hex
background-color: #CF07F2;
tailwind
bg-[hsl(291,94%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 94%, 49%, 0.4);
css variable
--color-primary: hsl(291, 94%, 49%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 94%, 49%)?
HEX: #CF07F2 | RGB: rgb(207, 7, 242) | CMYK: 14%, 97%, 0%, 5% | HSV: 291°, 97%, 95%. Copy any format from the conversion table above.
What colors go well with #CF07F2?
The complementary color is HSL(111, 94%, 49%). 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, 94%, 49%) in CSS?
As HSL: color: hsl(291, 94%, 49%); — As HEX: color: #CF07F2; — As RGB: color: rgb(207, 7, 242); — Tailwind CSS: bg-[hsl(291,94%,49%)] — CSS variable: --color-primary: hsl(291, 94%, 49%);