HSL(297, 60%, 69%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,60%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 60%, 69%) | color: hsl(297, 60%, 69%) | |
| HEX | #DB81DF | color: #DB81DF | |
| RGB | rgb(219, 129, 223) | color: rgb(219, 129, 223) | |
| CMYK | cmyk(2%, 42%, 0%, 13%) | — | |
| HSV | hsv(297, 42%, 87%) | — | |
| HWB | hwb(297 50% 13%) | color: hwb(297 50% 13%) | |
| OKLCH | oklch(0.7318 0.1622 325.54) | color: oklch(0.7318 0.1622 325.54) | |
| Lab | lab(66.59 48.66 -33.53) | color: lab(66.59 48.66 -33.53) | |
| LCH | lch(66.59 59.09 325.43) | color: lch(66.59 59.09 325.43) |
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)
#B4B3C8 — rgb(180, 179, 200)
Deuteranopia (Green-blind)
#B9C0C3 — rgb(185, 192, 195)
Tritanopia (Blue-blind)
#D7B6B2 — rgb(215, 182, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 60%, 69%);
text
color: hsl(297, 60%, 69%);
border
border: 2px solid hsl(297, 60%, 69%);
gradient light
background: linear-gradient(to right, hsl(297, 60%, 89%), hsl(297, 60%, 69%));
gradient dark
background: linear-gradient(to right, hsl(297, 60%, 69%), hsl(297, 60%, 49%))
hex
background-color: #DB81DF;
tailwind
bg-[hsl(297,60%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 60%, 69%, 0.4);
css variable
--color-primary: hsl(297, 60%, 69%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 60%, 69%)?
HEX: #DB81DF | RGB: rgb(219, 129, 223) | CMYK: 2%, 42%, 0%, 13% | HSV: 297°, 42%, 87%. Copy any format from the conversion table above.
What colors go well with #DB81DF?
The complementary color is HSL(117, 60%, 69%). 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, 60%, 69%) in CSS?
As HSL: color: hsl(297, 60%, 69%); — As HEX: color: #DB81DF; — As RGB: color: rgb(219, 129, 223); — Tailwind CSS: bg-[hsl(297,60%,69%)] — CSS variable: --color-primary: hsl(297, 60%, 69%);