HSL(303, 28%, 78%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,28%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 28%, 78%) | color: hsl(303, 28%, 78%) | |
| HEX | #D7B7D5 | color: #D7B7D5 | |
| RGB | rgb(215, 183, 213) | color: rgb(215, 183, 213) | |
| CMYK | cmyk(0%, 15%, 1%, 16%) | — | |
| HSV | hsv(304, 15%, 84%) | — | |
| HWB | hwb(304 71% 16%) | color: hwb(304 71% 16%) | |
| OKLCH | oklch(0.8162 0.0544 328.04) | color: oklch(0.8162 0.0544 328.04) | |
| Lab | lab(77.95 16.63 -10.8) | color: lab(77.95 16.63 -10.8) | |
| LCH | lch(77.95 19.83 327) | color: lch(77.95 19.83 327) |
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)
#C9C9CE — rgb(201, 201, 206)
Deuteranopia (Green-blind)
#CBCDCC — rgb(203, 205, 204)
Tritanopia (Blue-blind)
#D5C8C7 — rgb(213, 200, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 28%, 78%);
text
color: hsl(303, 28%, 78%);
border
border: 2px solid hsl(303, 28%, 78%);
gradient light
background: linear-gradient(to right, hsl(303, 28%, 98%), hsl(303, 28%, 78%));
gradient dark
background: linear-gradient(to right, hsl(303, 28%, 78%), hsl(303, 28%, 58%))
hex
background-color: #D7B7D5;
tailwind
bg-[hsl(303,28%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 28%, 78%, 0.4);
css variable
--color-primary: hsl(303, 28%, 78%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 28%, 78%)?
HEX: #D7B7D5 | RGB: rgb(215, 183, 213) | CMYK: 0%, 15%, 1%, 16% | HSV: 304°, 15%, 84%. Copy any format from the conversion table above.
What colors go well with #D7B7D5?
The complementary color is HSL(123, 28%, 78%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 28%, 78%) in CSS?
As HSL: color: hsl(303, 28%, 78%); — As HEX: color: #D7B7D5; — As RGB: color: rgb(215, 183, 213); — Tailwind CSS: bg-[hsl(303,28%,78%)] — CSS variable: --color-primary: hsl(303, 28%, 78%);