HSL(306, 79%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,79%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 79%, 48%) | color: hsl(306, 79%, 48%) | |
| HEX | #DB1AC8 | color: #DB1AC8 | |
| RGB | rgb(219, 26, 200) | color: rgb(219, 26, 200) | |
| CMYK | cmyk(0%, 88%, 9%, 14%) | — | |
| HSV | hsv(306, 88%, 86%) | — | |
| HWB | hwb(306 10% 14%) | color: hwb(306 10% 14%) | |
| OKLCH | oklch(0.6204 0.2673 333.27) | color: oklch(0.6204 0.2673 333.27) | |
| Lab | lab(51.81 82.45 -43.7) | color: lab(51.81 82.45 -43.7) | |
| LCH | lch(51.81 93.32 332.08) | color: lch(51.81 93.32 332.08) |
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)
#87869E — rgb(135, 134, 158)
Deuteranopia (Green-blind)
#93A194 — rgb(147, 161, 148)
Tritanopia (Blue-blind)
#D17D75 — rgb(209, 125, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 79%, 48%);
text
color: hsl(306, 79%, 48%);
border
border: 2px solid hsl(306, 79%, 48%);
gradient light
background: linear-gradient(to right, hsl(306, 79%, 68%), hsl(306, 79%, 48%));
gradient dark
background: linear-gradient(to right, hsl(306, 79%, 48%), hsl(306, 79%, 28%))
hex
background-color: #DB1AC8;
tailwind
bg-[hsl(306,79%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 79%, 48%, 0.4);
css variable
--color-primary: hsl(306, 79%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 79%, 48%)?
HEX: #DB1AC8 | RGB: rgb(219, 26, 200) | CMYK: 0%, 88%, 9%, 14% | HSV: 306°, 88%, 86%. Copy any format from the conversion table above.
What colors go well with #DB1AC8?
The complementary color is HSL(126, 79%, 48%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 79%, 48%) in CSS?
As HSL: color: hsl(306, 79%, 48%); — As HEX: color: #DB1AC8; — As RGB: color: rgb(219, 26, 200); — Tailwind CSS: bg-[hsl(306,79%,48%)] — CSS variable: --color-primary: hsl(306, 79%, 48%);