HSL(297, 55%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,55%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 55%, 70%) | color: hsl(297, 55%, 70%) | |
| HEX | #D888DD | color: #D888DD | |
| RGB | rgb(216, 136, 221) | color: rgb(216, 136, 221) | |
| CMYK | cmyk(2%, 38%, 0%, 13%) | — | |
| HSV | hsv(296, 38%, 87%) | — | |
| HWB | hwb(296 54% 13%) | color: hwb(296 54% 13%) | |
| OKLCH | oklch(0.7383 0.1465 324.85) | color: oklch(0.7383 0.1465 324.85) | |
| Lab | lab(67.6 43.76 -30.89) | color: lab(67.6 43.76 -30.89) | |
| LCH | lch(67.6 53.56 324.78) | color: lch(67.6 53.56 324.78) |
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)
#B5B5C8 — rgb(181, 181, 200)
Deuteranopia (Green-blind)
#BAC0C4 — rgb(186, 192, 196)
Tritanopia (Blue-blind)
#D4B8B5 — rgb(212, 184, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 55%, 70%);
text
color: hsl(297, 55%, 70%);
border
border: 2px solid hsl(297, 55%, 70%);
gradient light
background: linear-gradient(to right, hsl(297, 55%, 90%), hsl(297, 55%, 70%));
gradient dark
background: linear-gradient(to right, hsl(297, 55%, 70%), hsl(297, 55%, 50%))
hex
background-color: #D888DD;
tailwind
bg-[hsl(297,55%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 55%, 70%, 0.4);
css variable
--color-primary: hsl(297, 55%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 55%, 70%)?
HEX: #D888DD | RGB: rgb(216, 136, 221) | CMYK: 2%, 38%, 0%, 13% | HSV: 296°, 38%, 87%. Copy any format from the conversion table above.
What colors go well with #D888DD?
The complementary color is HSL(117, 55%, 70%). 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, 55%, 70%) in CSS?
As HSL: color: hsl(297, 55%, 70%); — As HEX: color: #D888DD; — As RGB: color: rgb(216, 136, 221); — Tailwind CSS: bg-[hsl(297,55%,70%)] — CSS variable: --color-primary: hsl(297, 55%, 70%);