HSL(302, 90%, 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(302,90%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 90%, 46%) | color: hsl(302, 90%, 46%) | |
| HEX | #DF0CD8 | color: #DF0CD8 | |
| RGB | rgb(223, 12, 216) | color: rgb(223, 12, 216) | |
| CMYK | cmyk(0%, 95%, 3%, 13%) | — | |
| HSV | hsv(302, 95%, 87%) | — | |
| HWB | hwb(302 4% 13%) | color: hwb(302 4% 13%) | |
| OKLCH | oklch(0.632 0.2842 330.07) | color: oklch(0.632 0.2842 330.07) | |
| Lab | lab(52.85 86.93 -51.17) | color: lab(52.85 86.93 -51.17) | |
| LCH | lch(52.85 100.87 329.52) | color: lch(52.85 100.87 329.52) |
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)
#8482A7 — rgb(132, 130, 167)
Deuteranopia (Green-blind)
#90A09B — rgb(144, 160, 155)
Tritanopia (Blue-blind)
#D48077 — rgb(212, 128, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 90%, 46%);
text
color: hsl(302, 90%, 46%);
border
border: 2px solid hsl(302, 90%, 46%);
gradient light
background: linear-gradient(to right, hsl(302, 90%, 66%), hsl(302, 90%, 46%));
gradient dark
background: linear-gradient(to right, hsl(302, 90%, 46%), hsl(302, 90%, 26%))
hex
background-color: #DF0CD8;
tailwind
bg-[hsl(302,90%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 90%, 46%, 0.4);
css variable
--color-primary: hsl(302, 90%, 46%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 90%, 46%)?
HEX: #DF0CD8 | RGB: rgb(223, 12, 216) | CMYK: 0%, 95%, 3%, 13% | HSV: 302°, 95%, 87%. Copy any format from the conversion table above.
What colors go well with #DF0CD8?
The complementary color is HSL(122, 90%, 46%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 90%, 46%) in CSS?
As HSL: color: hsl(302, 90%, 46%); — As HEX: color: #DF0CD8; — As RGB: color: rgb(223, 12, 216); — Tailwind CSS: bg-[hsl(302,90%,46%)] — CSS variable: --color-primary: hsl(302, 90%, 46%);