HSL(288, 50%, 82%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,50%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 50%, 82%) | color: hsl(288, 50%, 82%) | |
| HEX | #DFBAE8 | color: #DFBAE8 | |
| RGB | rgb(223, 186, 232) | color: rgb(223, 186, 232) | |
| CMYK | cmyk(4%, 20%, 0%, 9%) | — | |
| HSV | hsv(288, 20%, 91%) | — | |
| HWB | hwb(288 73% 9%) | color: hwb(288 73% 9%) | |
| OKLCH | oklch(0.8356 0.0746 319.62) | color: oklch(0.8356 0.0746 319.62) | |
| Lab | lab(79.97 21.24 -17.93) | color: lab(79.97 21.24 -17.93) | |
| LCH | lch(79.97 27.8 319.83) | color: lch(79.97 27.8 319.83) |
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)
#CFCFDD — rgb(207, 207, 221)
Deuteranopia (Green-blind)
#D1D4DA — rgb(209, 212, 218)
Tritanopia (Blue-blind)
#DDD4D2 — rgb(221, 212, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 50%, 82%);
text
color: hsl(288, 50%, 82%);
border
border: 2px solid hsl(288, 50%, 82%);
gradient light
background: linear-gradient(to right, hsl(288, 50%, 100%), hsl(288, 50%, 82%));
gradient dark
background: linear-gradient(to right, hsl(288, 50%, 82%), hsl(288, 50%, 62%))
hex
background-color: #DFBAE8;
tailwind
bg-[hsl(288,50%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 50%, 82%, 0.4);
css variable
--color-primary: hsl(288, 50%, 82%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 50%, 82%)?
HEX: #DFBAE8 | RGB: rgb(223, 186, 232) | CMYK: 4%, 20%, 0%, 9% | HSV: 288°, 20%, 91%. Copy any format from the conversion table above.
What colors go well with #DFBAE8?
The complementary color is HSL(108, 50%, 82%). 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%, 82%) in CSS?
As HSL: color: hsl(288, 50%, 82%); — As HEX: color: #DFBAE8; — As RGB: color: rgb(223, 186, 232); — Tailwind CSS: bg-[hsl(288,50%,82%)] — CSS variable: --color-primary: hsl(288, 50%, 82%);