HSL(299, 72%, 46%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,72%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 72%, 46%) | color: hsl(299, 72%, 46%) | |
| HEX | #C721CA | color: #C721CA | |
| RGB | rgb(199, 33, 202) | color: rgb(199, 33, 202) | |
| CMYK | cmyk(1%, 84%, 0%, 21%) | — | |
| HSV | hsv(299, 84%, 79%) | — | |
| HWB | hwb(299 13% 21%) | color: hwb(299 13% 21%) | |
| OKLCH | oklch(0.5937 0.2565 327.39) | color: oklch(0.5937 0.2565 327.39) | |
| Lab | lab(48.88 77.9 -49.71) | color: lab(48.88 77.9 -49.71) | |
| LCH | lch(48.88 92.41 327.46) | color: lch(48.88 92.41 327.46) |
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)
#7F7EA1 — rgb(127, 126, 161)
Deuteranopia (Green-blind)
#899597 — rgb(137, 149, 151)
Tritanopia (Blue-blind)
#BF817A — rgb(191, 129, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 72%, 46%);
text
color: hsl(299, 72%, 46%);
border
border: 2px solid hsl(299, 72%, 46%);
gradient light
background: linear-gradient(to right, hsl(299, 72%, 66%), hsl(299, 72%, 46%));
gradient dark
background: linear-gradient(to right, hsl(299, 72%, 46%), hsl(299, 72%, 26%))
hex
background-color: #C721CA;
tailwind
bg-[hsl(299,72%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 72%, 46%, 0.4);
css variable
--color-primary: hsl(299, 72%, 46%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 72%, 46%)?
HEX: #C721CA | RGB: rgb(199, 33, 202) | CMYK: 1%, 84%, 0%, 21% | HSV: 299°, 84%, 79%. Copy any format from the conversion table above.
What colors go well with #C721CA?
The complementary color is HSL(119, 72%, 46%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 72%, 46%) in CSS?
As HSL: color: hsl(299, 72%, 46%); — As HEX: color: #C721CA; — As RGB: color: rgb(199, 33, 202); — Tailwind CSS: bg-[hsl(299,72%,46%)] — CSS variable: --color-primary: hsl(299, 72%, 46%);