HSL(313, 68%, 57%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,68%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 68%, 57%) | color: hsl(313, 68%, 57%) | |
| HEX | #DC47BC | color: #DC47BC | |
| RGB | rgb(220, 71, 188) | color: rgb(220, 71, 188) | |
| CMYK | cmyk(0%, 68%, 15%, 14%) | — | |
| HSV | hsv(313, 68%, 86%) | — | |
| HWB | hwb(313 28% 14%) | color: hwb(313 28% 14%) | |
| OKLCH | oklch(0.645 0.2212 337.62) | color: oklch(0.645 0.2212 337.62) | |
| Lab | lab(55.44 69.4 -31.05) | color: lab(55.44 69.4 -31.05) | |
| LCH | lch(55.44 76.03 335.9) | color: lch(55.44 76.03 335.9) |
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)
#9B9AA0 — rgb(155, 154, 160)
Deuteranopia (Green-blind)
#A4AF99 — rgb(164, 175, 153)
Tritanopia (Blue-blind)
#D58984 — rgb(213, 137, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 68%, 57%);
text
color: hsl(313, 68%, 57%);
border
border: 2px solid hsl(313, 68%, 57%);
gradient light
background: linear-gradient(to right, hsl(313, 68%, 77%), hsl(313, 68%, 57%));
gradient dark
background: linear-gradient(to right, hsl(313, 68%, 57%), hsl(313, 68%, 37%))
hex
background-color: #DC47BC;
tailwind
bg-[hsl(313,68%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 68%, 57%, 0.4);
css variable
--color-primary: hsl(313, 68%, 57%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 68%, 57%)?
HEX: #DC47BC | RGB: rgb(220, 71, 188) | CMYK: 0%, 68%, 15%, 14% | HSV: 313°, 68%, 86%. Copy any format from the conversion table above.
What colors go well with #DC47BC?
The complementary color is HSL(133, 68%, 57%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 68%, 57%) in CSS?
As HSL: color: hsl(313, 68%, 57%); — As HEX: color: #DC47BC; — As RGB: color: rgb(220, 71, 188); — Tailwind CSS: bg-[hsl(313,68%,57%)] — CSS variable: --color-primary: hsl(313, 68%, 57%);