HSL(291, 72%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,72%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 72%, 63%) | color: hsl(291, 72%, 63%) | |
| HEX | #D05DE5 | color: #D05DE5 | |
| RGB | rgb(208, 93, 229) | color: rgb(208, 93, 229) | |
| CMYK | cmyk(9%, 59%, 0%, 10%) | — | |
| HSV | hsv(291, 59%, 90%) | — | |
| HWB | hwb(291 37% 10%) | color: hwb(291 37% 10%) | |
| OKLCH | oklch(0.6729 0.2179 321.21) | color: oklch(0.6729 0.2179 321.21) | |
| Lab | lab(58.88 64.23 -49.07) | color: lab(58.88 64.23 -49.07) | |
| LCH | lch(58.88 80.83 322.62) | color: lch(58.88 80.83 322.62) |
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)
#9E9DC4 — rgb(158, 157, 196)
Deuteranopia (Green-blind)
#A5AEBC — rgb(165, 174, 188)
Tritanopia (Blue-blind)
#CAAAA4 — rgb(202, 170, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 72%, 63%);
text
color: hsl(291, 72%, 63%);
border
border: 2px solid hsl(291, 72%, 63%);
gradient light
background: linear-gradient(to right, hsl(291, 72%, 83%), hsl(291, 72%, 63%));
gradient dark
background: linear-gradient(to right, hsl(291, 72%, 63%), hsl(291, 72%, 43%))
hex
background-color: #D05DE5;
tailwind
bg-[hsl(291,72%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 72%, 63%, 0.4);
css variable
--color-primary: hsl(291, 72%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 72%, 63%)?
HEX: #D05DE5 | RGB: rgb(208, 93, 229) | CMYK: 9%, 59%, 0%, 10% | HSV: 291°, 59%, 90%. Copy any format from the conversion table above.
What colors go well with #D05DE5?
The complementary color is HSL(111, 72%, 63%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 72%, 63%) in CSS?
As HSL: color: hsl(291, 72%, 63%); — As HEX: color: #D05DE5; — As RGB: color: rgb(208, 93, 229); — Tailwind CSS: bg-[hsl(291,72%,63%)] — CSS variable: --color-primary: hsl(291, 72%, 63%);