HSL(313, 50%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,50%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 50%, 62%) | color: hsl(313, 50%, 62%) | |
| HEX | #CF6EBA | color: #CF6EBA | |
| RGB | rgb(207, 110, 186) | color: rgb(207, 110, 186) | |
| CMYK | cmyk(0%, 47%, 10%, 19%) | — | |
| HSV | hsv(313, 47%, 81%) | — | |
| HWB | hwb(313 43% 19%) | color: hwb(313 43% 19%) | |
| OKLCH | oklch(0.6735 0.1532 335.86) | color: oklch(0.6735 0.1532 335.86) | |
| Lab | lab(59.86 48.26 -23.23) | color: lab(59.86 48.26 -23.23) | |
| LCH | lch(59.86 53.56 334.3) | color: lch(59.86 53.56 334.3) |
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)
#A5A4A8 — rgb(165, 164, 168)
Deuteranopia (Green-blind)
#ABB2A3 — rgb(171, 178, 163)
Tritanopia (Blue-blind)
#CA9996 — rgb(202, 153, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 50%, 62%);
text
color: hsl(313, 50%, 62%);
border
border: 2px solid hsl(313, 50%, 62%);
gradient light
background: linear-gradient(to right, hsl(313, 50%, 82%), hsl(313, 50%, 62%));
gradient dark
background: linear-gradient(to right, hsl(313, 50%, 62%), hsl(313, 50%, 42%))
hex
background-color: #CF6EBA;
tailwind
bg-[hsl(313,50%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 50%, 62%, 0.4);
css variable
--color-primary: hsl(313, 50%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 50%, 62%)?
HEX: #CF6EBA | RGB: rgb(207, 110, 186) | CMYK: 0%, 47%, 10%, 19% | HSV: 313°, 47%, 81%. Copy any format from the conversion table above.
What colors go well with #CF6EBA?
The complementary color is HSL(133, 50%, 62%). 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, 50%, 62%) in CSS?
As HSL: color: hsl(313, 50%, 62%); — As HEX: color: #CF6EBA; — As RGB: color: rgb(207, 110, 186); — Tailwind CSS: bg-[hsl(313,50%,62%)] — CSS variable: --color-primary: hsl(313, 50%, 62%);