HSL(311, 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(311,85%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 85%, 46%) | color: hsl(311, 85%, 46%) | |
| HEX | #D912B4 | color: #D912B4 | |
| RGB | rgb(217, 18, 180) | color: rgb(217, 18, 180) | |
| CMYK | cmyk(0%, 92%, 17%, 15%) | — | |
| HSV | hsv(311, 92%, 85%) | — | |
| HWB | hwb(311 7% 15%) | color: hwb(311 7% 15%) | |
| OKLCH | oklch(0.6042 0.2577 338.44) | color: oklch(0.6042 0.2577 338.44) | |
| Lab | lab(50.08 80.5 -34.81) | color: lab(50.08 80.5 -34.81) | |
| LCH | lch(50.08 87.7 336.62) | color: lch(50.08 87.7 336.62) |
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)
#83818D — rgb(131, 129, 141)
Deuteranopia (Green-blind)
#8E9D83 — rgb(142, 157, 131)
Tritanopia (Blue-blind)
#CF6E67 — rgb(207, 110, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 85%, 46%);
text
color: hsl(311, 85%, 46%);
border
border: 2px solid hsl(311, 85%, 46%);
gradient light
background: linear-gradient(to right, hsl(311, 85%, 66%), hsl(311, 85%, 46%));
gradient dark
background: linear-gradient(to right, hsl(311, 85%, 46%), hsl(311, 85%, 26%))
hex
background-color: #D912B4;
tailwind
bg-[hsl(311,85%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 85%, 46%, 0.4);
css variable
--color-primary: hsl(311, 85%, 46%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 85%, 46%)?
HEX: #D912B4 | RGB: rgb(217, 18, 180) | CMYK: 0%, 92%, 17%, 15% | HSV: 311°, 92%, 85%. Copy any format from the conversion table above.
What colors go well with #D912B4?
The complementary color is HSL(131, 85%, 46%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 85%, 46%) in CSS?
As HSL: color: hsl(311, 85%, 46%); — As HEX: color: #D912B4; — As RGB: color: rgb(217, 18, 180); — Tailwind CSS: bg-[hsl(311,85%,46%)] — CSS variable: --color-primary: hsl(311, 85%, 46%);