HSL(289, 75%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,75%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 75%, 71%) | color: hsl(289, 75%, 71%) | |
| HEX | #D87EED | color: #D87EED | |
| RGB | rgb(216, 126, 237) | color: rgb(216, 126, 237) | |
| CMYK | cmyk(9%, 47%, 0%, 7%) | — | |
| HSV | hsv(289, 47%, 93%) | — | |
| HWB | hwb(289 49% 7%) | color: hwb(289 49% 7%) | |
| OKLCH | oklch(0.7304 0.1793 319.82) | color: oklch(0.7304 0.1793 319.82) | |
| Lab | lab(66.24 51.98 -41.85) | color: lab(66.24 51.98 -41.85) | |
| LCH | lch(66.24 66.73 321.16) | color: lch(66.24 66.73 321.16) |
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)
#B1B0D2 — rgb(177, 176, 210)
Deuteranopia (Green-blind)
#B6BDCC — rgb(182, 189, 204)
Tritanopia (Blue-blind)
#D4BDB8 — rgb(212, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 75%, 71%);
text
color: hsl(289, 75%, 71%);
border
border: 2px solid hsl(289, 75%, 71%);
gradient light
background: linear-gradient(to right, hsl(289, 75%, 91%), hsl(289, 75%, 71%));
gradient dark
background: linear-gradient(to right, hsl(289, 75%, 71%), hsl(289, 75%, 51%))
hex
background-color: #D87EED;
tailwind
bg-[hsl(289,75%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 75%, 71%, 0.4);
css variable
--color-primary: hsl(289, 75%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 75%, 71%)?
HEX: #D87EED | RGB: rgb(216, 126, 237) | CMYK: 9%, 47%, 0%, 7% | HSV: 289°, 47%, 93%. Copy any format from the conversion table above.
What colors go well with #D87EED?
The complementary color is HSL(109, 75%, 71%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 75%, 71%) in CSS?
As HSL: color: hsl(289, 75%, 71%); — As HEX: color: #D87EED; — As RGB: color: rgb(216, 126, 237); — Tailwind CSS: bg-[hsl(289,75%,71%)] — CSS variable: --color-primary: hsl(289, 75%, 71%);