HSL(291, 68%, 71%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,68%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 68%, 71%) | color: hsl(291, 68%, 71%) | |
| HEX | #D883E7 | color: #D883E7 | |
| RGB | rgb(216, 131, 231) | color: rgb(216, 131, 231) | |
| CMYK | cmyk(6%, 43%, 0%, 9%) | — | |
| HSV | hsv(291, 43%, 91%) | — | |
| HWB | hwb(291 52% 9%) | color: hwb(291 52% 9%) | |
| OKLCH | oklch(0.735 0.165 321.43) | color: oklch(0.735 0.165 321.43) | |
| Lab | lab(66.98 48.26 -37.38) | color: lab(66.98 48.26 -37.38) | |
| LCH | lch(66.98 61.04 322.24) | color: lch(66.98 61.04 322.24) |
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)
#B3B2CF — rgb(179, 178, 207)
Deuteranopia (Green-blind)
#B8BFC9 — rgb(184, 191, 201)
Tritanopia (Blue-blind)
#D4BCB8 — rgb(212, 188, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 68%, 71%);
text
color: hsl(291, 68%, 71%);
border
border: 2px solid hsl(291, 68%, 71%);
gradient light
background: linear-gradient(to right, hsl(291, 68%, 91%), hsl(291, 68%, 71%));
gradient dark
background: linear-gradient(to right, hsl(291, 68%, 71%), hsl(291, 68%, 51%))
hex
background-color: #D883E7;
tailwind
bg-[hsl(291,68%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 68%, 71%, 0.4);
css variable
--color-primary: hsl(291, 68%, 71%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 68%, 71%)?
HEX: #D883E7 | RGB: rgb(216, 131, 231) | CMYK: 6%, 43%, 0%, 9% | HSV: 291°, 43%, 91%. Copy any format from the conversion table above.
What colors go well with #D883E7?
The complementary color is HSL(111, 68%, 71%). 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, 68%, 71%) in CSS?
As HSL: color: hsl(291, 68%, 71%); — As HEX: color: #D883E7; — As RGB: color: rgb(216, 131, 231); — Tailwind CSS: bg-[hsl(291,68%,71%)] — CSS variable: --color-primary: hsl(291, 68%, 71%);