HSL(288, 50%, 81%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,50%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 50%, 81%) | color: hsl(288, 50%, 81%) | |
| HEX | #DDB6E7 | color: #DDB6E7 | |
| RGB | rgb(221, 182, 231) | color: rgb(221, 182, 231) | |
| CMYK | cmyk(4%, 21%, 0%, 9%) | — | |
| HSV | hsv(288, 21%, 91%) | — | |
| HWB | hwb(288 72% 9%) | color: hwb(288 72% 9%) | |
| OKLCH | oklch(0.8261 0.0794 319.31) | color: oklch(0.8261 0.0794 319.31) | |
| Lab | lab(78.81 22.55 -19.17) | color: lab(78.81 22.55 -19.17) | |
| LCH | lch(78.81 29.6 319.63) | color: lch(78.81 29.6 319.63) |
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)
#CCCCDB — rgb(204, 204, 219)
Deuteranopia (Green-blind)
#CED1D8 — rgb(206, 209, 216)
Tritanopia (Blue-blind)
#DBD2D0 — rgb(219, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 50%, 81%);
text
color: hsl(288, 50%, 81%);
border
border: 2px solid hsl(288, 50%, 81%);
gradient light
background: linear-gradient(to right, hsl(288, 50%, 100%), hsl(288, 50%, 81%));
gradient dark
background: linear-gradient(to right, hsl(288, 50%, 81%), hsl(288, 50%, 61%))
hex
background-color: #DDB6E7;
tailwind
bg-[hsl(288,50%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 50%, 81%, 0.4);
css variable
--color-primary: hsl(288, 50%, 81%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 50%, 81%)?
HEX: #DDB6E7 | RGB: rgb(221, 182, 231) | CMYK: 4%, 21%, 0%, 9% | HSV: 288°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #DDB6E7?
The complementary color is HSL(108, 50%, 81%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 50%, 81%) in CSS?
As HSL: color: hsl(288, 50%, 81%); — As HEX: color: #DDB6E7; — As RGB: color: rgb(221, 182, 231); — Tailwind CSS: bg-[hsl(288,50%,81%)] — CSS variable: --color-primary: hsl(288, 50%, 81%);