HSL(304, 70%, 58%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,70%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 70%, 58%) | color: hsl(304, 70%, 58%) | |
| HEX | #DF49D5 | color: #DF49D5 | |
| RGB | rgb(223, 73, 213) | color: rgb(223, 73, 213) | |
| CMYK | cmyk(0%, 67%, 4%, 13%) | — | |
| HSV | hsv(304, 67%, 87%) | — | |
| HWB | hwb(304 29% 13%) | color: hwb(304 29% 13%) | |
| OKLCH | oklch(0.6634 0.2383 330.71) | color: oklch(0.6634 0.2383 330.71) | |
| Lab | lab(57.33 73.12 -42.36) | color: lab(57.33 73.12 -42.36) | |
| LCH | lch(57.33 84.5 329.92) | color: lch(57.33 84.5 329.92) |
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)
#9E9DB3 — rgb(158, 157, 179)
Deuteranopia (Green-blind)
#A7B2AB — rgb(167, 178, 171)
Tritanopia (Blue-blind)
#D89893 — rgb(216, 152, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 70%, 58%);
text
color: hsl(304, 70%, 58%);
border
border: 2px solid hsl(304, 70%, 58%);
gradient light
background: linear-gradient(to right, hsl(304, 70%, 78%), hsl(304, 70%, 58%));
gradient dark
background: linear-gradient(to right, hsl(304, 70%, 58%), hsl(304, 70%, 38%))
hex
background-color: #DF49D5;
tailwind
bg-[hsl(304,70%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 70%, 58%, 0.4);
css variable
--color-primary: hsl(304, 70%, 58%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 70%, 58%)?
HEX: #DF49D5 | RGB: rgb(223, 73, 213) | CMYK: 0%, 67%, 4%, 13% | HSV: 304°, 67%, 87%. Copy any format from the conversion table above.
What colors go well with #DF49D5?
The complementary color is HSL(124, 70%, 58%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 70%, 58%) in CSS?
As HSL: color: hsl(304, 70%, 58%); — As HEX: color: #DF49D5; — As RGB: color: rgb(223, 73, 213); — Tailwind CSS: bg-[hsl(304,70%,58%)] — CSS variable: --color-primary: hsl(304, 70%, 58%);