HSL(291, 37%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,37%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 37%, 76%) | color: hsl(291, 37%, 76%) | |
| HEX | #D2ABD8 | color: #D2ABD8 | |
| RGB | rgb(210, 171, 216) | color: rgb(210, 171, 216) | |
| CMYK | cmyk(3%, 21%, 0%, 15%) | — | |
| HSV | hsv(292, 21%, 85%) | — | |
| HWB | hwb(292 67% 15%) | color: hwb(292 67% 15%) | |
| OKLCH | oklch(0.7903 0.0757 321.85) | color: oklch(0.7903 0.0757 321.85) | |
| Lab | lab(74.69 22.02 -17.36) | color: lab(74.69 22.02 -17.36) | |
| LCH | lch(74.69 28.04 321.75) | color: lch(74.69 28.04 321.75) |
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)
#C1C1CD — rgb(193, 193, 205)
Deuteranopia (Green-blind)
#C3C6CB — rgb(195, 198, 203)
Tritanopia (Blue-blind)
#D0C5C3 — rgb(208, 197, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 37%, 76%);
text
color: hsl(291, 37%, 76%);
border
border: 2px solid hsl(291, 37%, 76%);
gradient light
background: linear-gradient(to right, hsl(291, 37%, 96%), hsl(291, 37%, 76%));
gradient dark
background: linear-gradient(to right, hsl(291, 37%, 76%), hsl(291, 37%, 56%))
hex
background-color: #D2ABD8;
tailwind
bg-[hsl(291,37%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 37%, 76%, 0.4);
css variable
--color-primary: hsl(291, 37%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 37%, 76%)?
HEX: #D2ABD8 | RGB: rgb(210, 171, 216) | CMYK: 3%, 21%, 0%, 15% | HSV: 292°, 21%, 85%. Copy any format from the conversion table above.
What colors go well with #D2ABD8?
The complementary color is HSL(111, 37%, 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, 37%, 76%) in CSS?
As HSL: color: hsl(291, 37%, 76%); — As HEX: color: #D2ABD8; — As RGB: color: rgb(210, 171, 216); — Tailwind CSS: bg-[hsl(291,37%,76%)] — CSS variable: --color-primary: hsl(291, 37%, 76%);