HSL(301, 50%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,50%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 50%, 62%) | color: hsl(301, 50%, 62%) | |
| HEX | #CF6ECD | color: #CF6ECD | |
| RGB | rgb(207, 110, 205) | color: rgb(207, 110, 205) | |
| CMYK | cmyk(0%, 47%, 1%, 19%) | — | |
| HSV | hsv(301, 47%, 81%) | — | |
| HWB | hwb(301 43% 19%) | color: hwb(301 43% 19%) | |
| OKLCH | oklch(0.6818 0.1695 327.99) | color: oklch(0.6818 0.1695 327.99) | |
| Lab | lab(60.63 51.53 -32.83) | color: lab(60.63 51.53 -32.83) | |
| LCH | lch(60.63 61.1 327.5) | color: lch(60.63 61.1 327.5) |
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)
#A5A4B6 — rgb(165, 164, 182)
Deuteranopia (Green-blind)
#ABB2B1 — rgb(171, 178, 177)
Tritanopia (Blue-blind)
#CAA4A0 — rgb(202, 164, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 50%, 62%);
text
color: hsl(301, 50%, 62%);
border
border: 2px solid hsl(301, 50%, 62%);
gradient light
background: linear-gradient(to right, hsl(301, 50%, 82%), hsl(301, 50%, 62%));
gradient dark
background: linear-gradient(to right, hsl(301, 50%, 62%), hsl(301, 50%, 42%))
hex
background-color: #CF6ECD;
tailwind
bg-[hsl(301,50%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 50%, 62%, 0.4);
css variable
--color-primary: hsl(301, 50%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 50%, 62%)?
HEX: #CF6ECD | RGB: rgb(207, 110, 205) | CMYK: 0%, 47%, 1%, 19% | HSV: 301°, 47%, 81%. Copy any format from the conversion table above.
What colors go well with #CF6ECD?
The complementary color is HSL(121, 50%, 62%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 50%, 62%) in CSS?
As HSL: color: hsl(301, 50%, 62%); — As HEX: color: #CF6ECD; — As RGB: color: rgb(207, 110, 205); — Tailwind CSS: bg-[hsl(301,50%,62%)] — CSS variable: --color-primary: hsl(301, 50%, 62%);