HSL(308, 10%, 83%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(308,10%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 10%, 83%) | color: hsl(308, 10%, 83%) | |
| HEX | #D8CFD7 | color: #D8CFD7 | |
| RGB | rgb(216, 207, 215) | color: rgb(216, 207, 215) | |
| CMYK | cmyk(0%, 4%, 0%, 15%) | — | |
| HSV | hsv(307, 4%, 85%) | — | |
| HWB | hwb(307 82% 15%) | color: hwb(307 82% 15%) | |
| OKLCH | oklch(0.8641 0.0146 329.14) | color: oklch(0.8641 0.0146 329.14) | |
| Lab | lab(84.03 4.53 -2.85) | color: lab(84.03 4.53 -2.85) | |
| LCH | lch(84.03 5.35 327.82) | color: lch(84.03 5.35 327.82) |
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)
#D4D4D5 — rgb(212, 212, 213)
Deuteranopia (Green-blind)
#D5D5D5 — rgb(213, 213, 213)
Tritanopia (Blue-blind)
#D8D4D3 — rgb(216, 212, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 10%, 83%);
text
color: hsl(308, 10%, 83%);
border
border: 2px solid hsl(308, 10%, 83%);
gradient light
background: linear-gradient(to right, hsl(308, 10%, 100%), hsl(308, 10%, 83%));
gradient dark
background: linear-gradient(to right, hsl(308, 10%, 83%), hsl(308, 10%, 63%))
hex
background-color: #D8CFD7;
tailwind
bg-[hsl(308,10%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 10%, 83%, 0.4);
css variable
--color-primary: hsl(308, 10%, 83%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 10%, 83%)?
HEX: #D8CFD7 | RGB: rgb(216, 207, 215) | CMYK: 0%, 4%, 0%, 15% | HSV: 307°, 4%, 85%. Copy any format from the conversion table above.
What colors go well with #D8CFD7?
The complementary color is HSL(128, 10%, 83%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 10%, 83%) in CSS?
As HSL: color: hsl(308, 10%, 83%); — As HEX: color: #D8CFD7; — As RGB: color: rgb(216, 207, 215); — Tailwind CSS: bg-[hsl(308,10%,83%)] — CSS variable: --color-primary: hsl(308, 10%, 83%);