HSL(301, 92%, 45%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,92%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 92%, 45%) | color: hsl(301, 92%, 45%) | |
| HEX | #DC09D9 | color: #DC09D9 | |
| RGB | rgb(220, 9, 217) | color: rgb(220, 9, 217) | |
| CMYK | cmyk(0%, 96%, 1%, 14%) | — | |
| HSV | hsv(301, 96%, 86%) | — | |
| HWB | hwb(301 3% 14%) | color: hwb(301 3% 14%) | |
| OKLCH | oklch(0.6274 0.2845 329.09) | color: oklch(0.6274 0.2845 329.09) | |
| Lab | lab(52.31 86.8 -52.63) | color: lab(52.31 86.8 -52.63) | |
| LCH | lch(52.31 101.51 328.77) | color: lch(52.31 101.51 328.77) |
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)
#817FA7 — rgb(129, 127, 167)
Deuteranopia (Green-blind)
#8D9D9B — rgb(141, 157, 155)
Tritanopia (Blue-blind)
#D17F76 — rgb(209, 127, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 92%, 45%);
text
color: hsl(301, 92%, 45%);
border
border: 2px solid hsl(301, 92%, 45%);
gradient light
background: linear-gradient(to right, hsl(301, 92%, 65%), hsl(301, 92%, 45%));
gradient dark
background: linear-gradient(to right, hsl(301, 92%, 45%), hsl(301, 92%, 25%))
hex
background-color: #DC09D9;
tailwind
bg-[hsl(301,92%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 92%, 45%, 0.4);
css variable
--color-primary: hsl(301, 92%, 45%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 92%, 45%)?
HEX: #DC09D9 | RGB: rgb(220, 9, 217) | CMYK: 0%, 96%, 1%, 14% | HSV: 301°, 96%, 86%. Copy any format from the conversion table above.
What colors go well with #DC09D9?
The complementary color is HSL(121, 92%, 45%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 92%, 45%) in CSS?
As HSL: color: hsl(301, 92%, 45%); — As HEX: color: #DC09D9; — As RGB: color: rgb(220, 9, 217); — Tailwind CSS: bg-[hsl(301,92%,45%)] — CSS variable: --color-primary: hsl(301, 92%, 45%);