HSL(304, 30%, 82%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,30%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 30%, 82%) | color: hsl(304, 30%, 82%) | |
| HEX | #DFC3DD | color: #DFC3DD | |
| RGB | rgb(223, 195, 221) | color: rgb(223, 195, 221) | |
| CMYK | cmyk(0%, 13%, 1%, 13%) | — | |
| HSV | hsv(304, 13%, 87%) | — | |
| HWB | hwb(304 76% 13%) | color: hwb(304 76% 13%) | |
| OKLCH | oklch(0.8486 0.0469 328.23) | color: oklch(0.8486 0.0469 328.23) | |
| Lab | lab(81.81 14.37 -9.28) | color: lab(81.81 14.37 -9.28) | |
| LCH | lch(81.81 17.11 327.15) | color: lch(81.81 17.11 327.15) |
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)
#D3D3D7 — rgb(211, 211, 215)
Deuteranopia (Green-blind)
#D5D7D5 — rgb(213, 215, 213)
Tritanopia (Blue-blind)
#DED2D1 — rgb(222, 210, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 30%, 82%);
text
color: hsl(304, 30%, 82%);
border
border: 2px solid hsl(304, 30%, 82%);
gradient light
background: linear-gradient(to right, hsl(304, 30%, 100%), hsl(304, 30%, 82%));
gradient dark
background: linear-gradient(to right, hsl(304, 30%, 82%), hsl(304, 30%, 62%))
hex
background-color: #DFC3DD;
tailwind
bg-[hsl(304,30%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 30%, 82%, 0.4);
css variable
--color-primary: hsl(304, 30%, 82%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 30%, 82%)?
HEX: #DFC3DD | RGB: rgb(223, 195, 221) | CMYK: 0%, 13%, 1%, 13% | HSV: 304°, 13%, 87%. Copy any format from the conversion table above.
What colors go well with #DFC3DD?
The complementary color is HSL(124, 30%, 82%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 30%, 82%) in CSS?
As HSL: color: hsl(304, 30%, 82%); — As HEX: color: #DFC3DD; — As RGB: color: rgb(223, 195, 221); — Tailwind CSS: bg-[hsl(304,30%,82%)] — CSS variable: --color-primary: hsl(304, 30%, 82%);