HSL(313, 65%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,65%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 65%, 47%) | color: hsl(313, 65%, 47%) | |
| HEX | #C62AA4 | color: #C62AA4 | |
| RGB | rgb(198, 42, 164) | color: rgb(198, 42, 164) | |
| CMYK | cmyk(0%, 79%, 17%, 22%) | — | |
| HSV | hsv(313, 79%, 78%) | — | |
| HWB | hwb(313 16% 22%) | color: hwb(313 16% 22%) | |
| OKLCH | oklch(0.5765 0.2236 338.84) | color: oklch(0.5765 0.2236 338.84) | |
| Lab | lab(47.42 70.12 -29.77) | color: lab(47.42 70.12 -29.77) | |
| LCH | lch(47.42 76.18 337) | color: lch(47.42 76.18 337) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#828186 — rgb(130, 129, 134)
Deuteranopia (Green-blind)
#8C977F — rgb(140, 151, 127)
Tritanopia (Blue-blind)
#BE6F6A — rgb(190, 111, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 65%, 47%);
text
color: hsl(313, 65%, 47%);
border
border: 2px solid hsl(313, 65%, 47%);
gradient light
background: linear-gradient(to right, hsl(313, 65%, 67%), hsl(313, 65%, 47%));
gradient dark
background: linear-gradient(to right, hsl(313, 65%, 47%), hsl(313, 65%, 27%))
hex
background-color: #C62AA4;
tailwind
bg-[hsl(313,65%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 65%, 47%, 0.4);
css variable
--color-primary: hsl(313, 65%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 65%, 47%)?
HEX: #C62AA4 | RGB: rgb(198, 42, 164) | CMYK: 0%, 79%, 17%, 22% | HSV: 313°, 79%, 78%. Copy any format from the conversion table above.
What colors go well with #C62AA4?
The complementary color is HSL(133, 65%, 47%). 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, 65%, 47%) in CSS?
As HSL: color: hsl(313, 65%, 47%); — As HEX: color: #C62AA4; — As RGB: color: rgb(198, 42, 164); — Tailwind CSS: bg-[hsl(313,65%,47%)] — CSS variable: --color-primary: hsl(313, 65%, 47%);