HSL(312, 70%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,70%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 70%, 55%) | color: hsl(312, 70%, 55%) | |
| HEX | #DD3CBC | color: #DD3CBC | |
| RGB | rgb(221, 60, 188) | color: rgb(221, 60, 188) | |
| CMYK | cmyk(0%, 73%, 15%, 13%) | — | |
| HSV | hsv(312, 73%, 87%) | — | |
| HWB | hwb(312 23% 13%) | color: hwb(312 23% 13%) | |
| OKLCH | oklch(0.6369 0.2343 337.62) | color: oklch(0.6369 0.2343 337.62) | |
| Lab | lab(54.28 73.36 -32.85) | color: lab(54.28 73.36 -32.85) | |
| LCH | lch(54.28 80.38 335.88) | color: lch(54.28 80.38 335.88) |
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)
#97969D — rgb(151, 150, 157)
Deuteranopia (Green-blind)
#A1AD96 — rgb(161, 173, 150)
Tritanopia (Blue-blind)
#D5857F — rgb(213, 133, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 70%, 55%);
text
color: hsl(312, 70%, 55%);
border
border: 2px solid hsl(312, 70%, 55%);
gradient light
background: linear-gradient(to right, hsl(312, 70%, 75%), hsl(312, 70%, 55%));
gradient dark
background: linear-gradient(to right, hsl(312, 70%, 55%), hsl(312, 70%, 35%))
hex
background-color: #DD3CBC;
tailwind
bg-[hsl(312,70%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 70%, 55%, 0.4);
css variable
--color-primary: hsl(312, 70%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 70%, 55%)?
HEX: #DD3CBC | RGB: rgb(221, 60, 188) | CMYK: 0%, 73%, 15%, 13% | HSV: 312°, 73%, 87%. Copy any format from the conversion table above.
What colors go well with #DD3CBC?
The complementary color is HSL(132, 70%, 55%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 70%, 55%) in CSS?
As HSL: color: hsl(312, 70%, 55%); — As HEX: color: #DD3CBC; — As RGB: color: rgb(221, 60, 188); — Tailwind CSS: bg-[hsl(312,70%,55%)] — CSS variable: --color-primary: hsl(312, 70%, 55%);