HSL(293, 70%, 59%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,70%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 70%, 59%) | color: hsl(293, 70%, 59%) | |
| HEX | #CF4DE0 | color: #CF4DE0 | |
| RGB | rgb(207, 77, 224) | color: rgb(207, 77, 224) | |
| CMYK | cmyk(8%, 66%, 0%, 12%) | — | |
| HSV | hsv(293, 66%, 88%) | — | |
| HWB | hwb(293 30% 12%) | color: hwb(293 30% 12%) | |
| OKLCH | oklch(0.6512 0.2343 322.88) | color: oklch(0.6512 0.2343 322.88) | |
| Lab | lab(56.05 69.81 -50.77) | color: lab(56.05 69.81 -50.77) | |
| LCH | lch(56.05 86.32 323.97) | color: lch(56.05 86.32 323.97) |
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)
#9796BC — rgb(151, 150, 188)
Deuteranopia (Green-blind)
#9EA8B4 — rgb(158, 168, 180)
Tritanopia (Blue-blind)
#C9A09A — rgb(201, 160, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 70%, 59%);
text
color: hsl(293, 70%, 59%);
border
border: 2px solid hsl(293, 70%, 59%);
gradient light
background: linear-gradient(to right, hsl(293, 70%, 79%), hsl(293, 70%, 59%));
gradient dark
background: linear-gradient(to right, hsl(293, 70%, 59%), hsl(293, 70%, 39%))
hex
background-color: #CF4DE0;
tailwind
bg-[hsl(293,70%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 70%, 59%, 0.4);
css variable
--color-primary: hsl(293, 70%, 59%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 70%, 59%)?
HEX: #CF4DE0 | RGB: rgb(207, 77, 224) | CMYK: 8%, 66%, 0%, 12% | HSV: 293°, 66%, 88%. Copy any format from the conversion table above.
What colors go well with #CF4DE0?
The complementary color is HSL(113, 70%, 59%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 70%, 59%) in CSS?
As HSL: color: hsl(293, 70%, 59%); — As HEX: color: #CF4DE0; — As RGB: color: rgb(207, 77, 224); — Tailwind CSS: bg-[hsl(293,70%,59%)] — CSS variable: --color-primary: hsl(293, 70%, 59%);