HSL(296, 28%, 83%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,28%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 28%, 83%) | color: hsl(296, 28%, 83%) | |
| HEX | #DEC8E0 | color: #DEC8E0 | |
| RGB | rgb(222, 200, 224) | color: rgb(222, 200, 224) | |
| CMYK | cmyk(1%, 11%, 0%, 12%) | — | |
| HSV | hsv(295, 11%, 88%) | — | |
| HWB | hwb(295 78% 12%) | color: hwb(295 78% 12%) | |
| OKLCH | oklch(0.8582 0.0405 323.35) | color: oklch(0.8582 0.0405 323.35) | |
| Lab | lab(83.03 11.92 -9.07) | color: lab(83.03 11.92 -9.07) | |
| LCH | lch(83.03 14.98 322.73) | color: lch(83.03 14.98 322.73) |
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)
#D4D4DA — rgb(212, 212, 218)
Deuteranopia (Green-blind)
#D6D7D9 — rgb(214, 215, 217)
Tritanopia (Blue-blind)
#DDD6D5 — rgb(221, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 28%, 83%);
text
color: hsl(296, 28%, 83%);
border
border: 2px solid hsl(296, 28%, 83%);
gradient light
background: linear-gradient(to right, hsl(296, 28%, 100%), hsl(296, 28%, 83%));
gradient dark
background: linear-gradient(to right, hsl(296, 28%, 83%), hsl(296, 28%, 63%))
hex
background-color: #DEC8E0;
tailwind
bg-[hsl(296,28%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 28%, 83%, 0.4);
css variable
--color-primary: hsl(296, 28%, 83%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 28%, 83%)?
HEX: #DEC8E0 | RGB: rgb(222, 200, 224) | CMYK: 1%, 11%, 0%, 12% | HSV: 295°, 11%, 88%. Copy any format from the conversion table above.
What colors go well with #DEC8E0?
The complementary color is HSL(116, 28%, 83%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 28%, 83%) in CSS?
As HSL: color: hsl(296, 28%, 83%); — As HEX: color: #DEC8E0; — As RGB: color: rgb(222, 200, 224); — Tailwind CSS: bg-[hsl(296,28%,83%)] — CSS variable: --color-primary: hsl(296, 28%, 83%);