HSL(308, 85%, 46%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,85%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 85%, 46%) | color: hsl(308, 85%, 46%) | |
| HEX | #D912BE | color: #D912BE | |
| RGB | rgb(217, 18, 190) | color: rgb(217, 18, 190) | |
| CMYK | cmyk(0%, 92%, 12%, 15%) | — | |
| HSV | hsv(308, 92%, 85%) | — | |
| HWB | hwb(308 7% 15%) | color: hwb(308 7% 15%) | |
| OKLCH | oklch(0.6094 0.2637 335.53) | color: oklch(0.6094 0.2637 335.53) | |
| Lab | lab(50.58 81.78 -39.87) | color: lab(50.58 81.78 -39.87) | |
| LCH | lch(50.58 90.98 334.01) | color: lch(50.58 90.98 334.01) |
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)
#838194 — rgb(131, 129, 148)
Deuteranopia (Green-blind)
#8E9D8A — rgb(142, 157, 138)
Tritanopia (Blue-blind)
#CF746C — rgb(207, 116, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 85%, 46%);
text
color: hsl(308, 85%, 46%);
border
border: 2px solid hsl(308, 85%, 46%);
gradient light
background: linear-gradient(to right, hsl(308, 85%, 66%), hsl(308, 85%, 46%));
gradient dark
background: linear-gradient(to right, hsl(308, 85%, 46%), hsl(308, 85%, 26%))
hex
background-color: #D912BE;
tailwind
bg-[hsl(308,85%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 85%, 46%, 0.4);
css variable
--color-primary: hsl(308, 85%, 46%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 85%, 46%)?
HEX: #D912BE | RGB: rgb(217, 18, 190) | CMYK: 0%, 92%, 12%, 15% | HSV: 308°, 92%, 85%. Copy any format from the conversion table above.
What colors go well with #D912BE?
The complementary color is HSL(128, 85%, 46%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 85%, 46%) in CSS?
As HSL: color: hsl(308, 85%, 46%); — As HEX: color: #D912BE; — As RGB: color: rgb(217, 18, 190); — Tailwind CSS: bg-[hsl(308,85%,46%)] — CSS variable: --color-primary: hsl(308, 85%, 46%);