HSL(291, 40%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,40%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 40%, 76%) | color: hsl(291, 40%, 76%) | |
| HEX | #D3A9DA | color: #D3A9DA | |
| RGB | rgb(211, 169, 218) | color: rgb(211, 169, 218) | |
| CMYK | cmyk(3%, 22%, 0%, 15%) | — | |
| HSV | hsv(291, 22%, 85%) | — | |
| HWB | hwb(291 66% 15%) | color: hwb(291 66% 15%) | |
| OKLCH | oklch(0.7883 0.0821 321.53) | color: oklch(0.7883 0.0821 321.53) | |
| Lab | lab(74.37 23.82 -18.92) | color: lab(74.37 23.82 -18.92) | |
| LCH | lch(74.37 30.42 321.54) | color: lch(74.37 30.42 321.54) |
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)
#C1C0CE — rgb(193, 192, 206)
Deuteranopia (Green-blind)
#C3C6CB — rgb(195, 198, 203)
Tritanopia (Blue-blind)
#D1C5C3 — rgb(209, 197, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 40%, 76%);
text
color: hsl(291, 40%, 76%);
border
border: 2px solid hsl(291, 40%, 76%);
gradient light
background: linear-gradient(to right, hsl(291, 40%, 96%), hsl(291, 40%, 76%));
gradient dark
background: linear-gradient(to right, hsl(291, 40%, 76%), hsl(291, 40%, 56%))
hex
background-color: #D3A9DA;
tailwind
bg-[hsl(291,40%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 40%, 76%, 0.4);
css variable
--color-primary: hsl(291, 40%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 40%, 76%)?
HEX: #D3A9DA | RGB: rgb(211, 169, 218) | CMYK: 3%, 22%, 0%, 15% | HSV: 291°, 22%, 85%. Copy any format from the conversion table above.
What colors go well with #D3A9DA?
The complementary color is HSL(111, 40%, 76%). 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, 40%, 76%) in CSS?
As HSL: color: hsl(291, 40%, 76%); — As HEX: color: #D3A9DA; — As RGB: color: rgb(211, 169, 218); — Tailwind CSS: bg-[hsl(291,40%,76%)] — CSS variable: --color-primary: hsl(291, 40%, 76%);