HSL(297, 10%, 81%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(297,10%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 10%, 81%) | color: hsl(297, 10%, 81%) | |
| HEX | #D3CAD3 | color: #D3CAD3 | |
| RGB | rgb(211, 202, 211) | color: rgb(211, 202, 211) | |
| CMYK | cmyk(0%, 4%, 0%, 17%) | — | |
| HSV | hsv(300, 4%, 83%) | — | |
| HWB | hwb(300 80% 17%) | color: hwb(300 80% 17%) | |
| OKLCH | oklch(0.8489 0.0157 325.71) | color: oklch(0.8489 0.0157 325.71) | |
| Lab | lab(82.27 4.73 -3.35) | color: lab(82.27 4.73 -3.35) | |
| LCH | lch(82.27 5.8 324.69) | color: lch(82.27 5.8 324.69) |
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)
#CFCFD1 — rgb(207, 207, 209)
Deuteranopia (Green-blind)
#D0D0D0 — rgb(208, 208, 208)
Tritanopia (Blue-blind)
#D3CFCF — rgb(211, 207, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 10%, 81%);
text
color: hsl(297, 10%, 81%);
border
border: 2px solid hsl(297, 10%, 81%);
gradient light
background: linear-gradient(to right, hsl(297, 10%, 100%), hsl(297, 10%, 81%));
gradient dark
background: linear-gradient(to right, hsl(297, 10%, 81%), hsl(297, 10%, 61%))
hex
background-color: #D3CAD3;
tailwind
bg-[hsl(297,10%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 10%, 81%, 0.4);
css variable
--color-primary: hsl(297, 10%, 81%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 10%, 81%)?
HEX: #D3CAD3 | RGB: rgb(211, 202, 211) | CMYK: 0%, 4%, 0%, 17% | HSV: 300°, 4%, 83%. Copy any format from the conversion table above.
What colors go well with #D3CAD3?
The complementary color is HSL(117, 10%, 81%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 10%, 81%) in CSS?
As HSL: color: hsl(297, 10%, 81%); — As HEX: color: #D3CAD3; — As RGB: color: rgb(211, 202, 211); — Tailwind CSS: bg-[hsl(297,10%,81%)] — CSS variable: --color-primary: hsl(297, 10%, 81%);