HSL(308, 60%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,60%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 60%, 65%) | color: hsl(308, 60%, 65%) | |
| HEX | #DB70CD | color: #DB70CD | |
| RGB | rgb(219, 112, 205) | color: rgb(219, 112, 205) | |
| CMYK | cmyk(0%, 49%, 6%, 14%) | — | |
| HSV | hsv(308, 49%, 86%) | — | |
| HWB | hwb(308 44% 14%) | color: hwb(308 44% 14%) | |
| OKLCH | oklch(0.6993 0.1742 332.37) | color: oklch(0.6993 0.1742 332.37) | |
| Lab | lab(62.56 54.03 -29.72) | color: lab(62.56 54.03 -29.72) | |
| LCH | lch(62.56 61.66 331.19) | color: lch(62.56 61.66 331.19) |
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)
#ADACB6 — rgb(173, 172, 182)
Deuteranopia (Green-blind)
#B3BBB1 — rgb(179, 187, 177)
Tritanopia (Blue-blind)
#D6A5A1 — rgb(214, 165, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 60%, 65%);
text
color: hsl(308, 60%, 65%);
border
border: 2px solid hsl(308, 60%, 65%);
gradient light
background: linear-gradient(to right, hsl(308, 60%, 85%), hsl(308, 60%, 65%));
gradient dark
background: linear-gradient(to right, hsl(308, 60%, 65%), hsl(308, 60%, 45%))
hex
background-color: #DB70CD;
tailwind
bg-[hsl(308,60%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 60%, 65%, 0.4);
css variable
--color-primary: hsl(308, 60%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 60%, 65%)?
HEX: #DB70CD | RGB: rgb(219, 112, 205) | CMYK: 0%, 49%, 6%, 14% | HSV: 308°, 49%, 86%. Copy any format from the conversion table above.
What colors go well with #DB70CD?
The complementary color is HSL(128, 60%, 65%). 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, 60%, 65%) in CSS?
As HSL: color: hsl(308, 60%, 65%); — As HEX: color: #DB70CD; — As RGB: color: rgb(219, 112, 205); — Tailwind CSS: bg-[hsl(308,60%,65%)] — CSS variable: --color-primary: hsl(308, 60%, 65%);