HSL(308, 10%, 78%)
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%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 10%, 78%) | color: hsl(308, 10%, 78%) | |
| HEX | #CDC1CB | color: #CDC1CB | |
| RGB | rgb(205, 193, 203) | color: rgb(205, 193, 203) | |
| CMYK | cmyk(0%, 6%, 1%, 20%) | — | |
| HSV | hsv(310, 6%, 80%) | — | |
| HWB | hwb(310 75% 20%) | color: hwb(310 75% 20%) | |
| OKLCH | oklch(0.8237 0.0191 331.13) | color: oklch(0.8237 0.0191 331.13) | |
| Lab | lab(79.29 5.99 -3.49) | color: lab(79.29 5.99 -3.49) | |
| LCH | lch(79.29 6.93 329.77) | color: lch(79.29 6.93 329.77) |
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)
#C8C8C9 — rgb(200, 200, 201)
Deuteranopia (Green-blind)
#C9C9C8 — rgb(201, 201, 200)
Tritanopia (Blue-blind)
#CCC7C6 — rgb(204, 199, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 10%, 78%);
text
color: hsl(308, 10%, 78%);
border
border: 2px solid hsl(308, 10%, 78%);
gradient light
background: linear-gradient(to right, hsl(308, 10%, 98%), hsl(308, 10%, 78%));
gradient dark
background: linear-gradient(to right, hsl(308, 10%, 78%), hsl(308, 10%, 58%))
hex
background-color: #CDC1CB;
tailwind
bg-[hsl(308,10%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 10%, 78%, 0.4);
css variable
--color-primary: hsl(308, 10%, 78%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 10%, 78%)?
HEX: #CDC1CB | RGB: rgb(205, 193, 203) | CMYK: 0%, 6%, 1%, 20% | HSV: 310°, 6%, 80%. Copy any format from the conversion table above.
What colors go well with #CDC1CB?
The complementary color is HSL(128, 10%, 78%). 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%, 78%) in CSS?
As HSL: color: hsl(308, 10%, 78%); — As HEX: color: #CDC1CB; — As RGB: color: rgb(205, 193, 203); — Tailwind CSS: bg-[hsl(308,10%,78%)] — CSS variable: --color-primary: hsl(308, 10%, 78%);