HSL(297, 71%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,71%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 71%, 63%) | color: hsl(297, 71%, 63%) | |
| HEX | #DD5EE4 | color: #DD5EE4 | |
| RGB | rgb(221, 94, 228) | color: rgb(221, 94, 228) | |
| CMYK | cmyk(3%, 59%, 0%, 11%) | — | |
| HSV | hsv(297, 59%, 89%) | — | |
| HWB | hwb(297 36% 11%) | color: hwb(297 36% 11%) | |
| OKLCH | oklch(0.6901 0.2221 325.56) | color: oklch(0.6901 0.2221 325.56) | |
| Lab | lab(60.77 66.8 -45.41) | color: lab(60.77 66.8 -45.41) | |
| LCH | lch(60.77 80.77 325.79) | color: lch(60.77 80.77 325.79) |
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)
#A6A5C4 — rgb(166, 165, 196)
Deuteranopia (Green-blind)
#ADB7BC — rgb(173, 183, 188)
Tritanopia (Blue-blind)
#D7AAA4 — rgb(215, 170, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 71%, 63%);
text
color: hsl(297, 71%, 63%);
border
border: 2px solid hsl(297, 71%, 63%);
gradient light
background: linear-gradient(to right, hsl(297, 71%, 83%), hsl(297, 71%, 63%));
gradient dark
background: linear-gradient(to right, hsl(297, 71%, 63%), hsl(297, 71%, 43%))
hex
background-color: #DD5EE4;
tailwind
bg-[hsl(297,71%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 71%, 63%, 0.4);
css variable
--color-primary: hsl(297, 71%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 71%, 63%)?
HEX: #DD5EE4 | RGB: rgb(221, 94, 228) | CMYK: 3%, 59%, 0%, 11% | HSV: 297°, 59%, 89%. Copy any format from the conversion table above.
What colors go well with #DD5EE4?
The complementary color is HSL(117, 71%, 63%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 71%, 63%) in CSS?
As HSL: color: hsl(297, 71%, 63%); — As HEX: color: #DD5EE4; — As RGB: color: rgb(221, 94, 228); — Tailwind CSS: bg-[hsl(297,71%,63%)] — CSS variable: --color-primary: hsl(297, 71%, 63%);