HSL(242, 9%, 81%)
Grayish White — White color
Adjust Color
Color Information
Color Name
Grayish White
Color Family
White
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(242,9%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 9%, 81%) | color: hsl(242, 9%, 81%) | |
| HEX | #CACAD3 | color: #CACAD3 | |
| RGB | rgb(202, 202, 211) | color: rgb(202, 202, 211) | |
| CMYK | cmyk(4%, 4%, 0%, 17%) | — | |
| HSV | hsv(240, 4%, 83%) | — | |
| HWB | hwb(240 80% 17%) | color: hwb(240 80% 17%) | |
| OKLCH | oklch(0.8417 0.0124 286.13) | color: oklch(0.8417 0.0124 286.13) | |
| Lab | lab(81.57 1.68 -4.47) | color: lab(81.57 1.68 -4.47) | |
| LCH | lch(81.57 4.78 290.6) | color: lch(81.57 4.78 290.6) |
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)
#CACAD1 — rgb(202, 202, 209)
Deuteranopia (Green-blind)
#CACAD0 — rgb(202, 202, 208)
Tritanopia (Blue-blind)
#CACFCF — rgb(202, 207, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 9%, 81%);
text
color: hsl(242, 9%, 81%);
border
border: 2px solid hsl(242, 9%, 81%);
gradient light
background: linear-gradient(to right, hsl(242, 9%, 100%), hsl(242, 9%, 81%));
gradient dark
background: linear-gradient(to right, hsl(242, 9%, 81%), hsl(242, 9%, 61%))
hex
background-color: #CACAD3;
tailwind
bg-[hsl(242,9%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 9%, 81%, 0.4);
css variable
--color-primary: hsl(242, 9%, 81%);
Related Colors
Use Cases for Grayish White
Frequently Asked Questions
What are all the color codes for HSL(242, 9%, 81%)?
HEX: #CACAD3 | RGB: rgb(202, 202, 211) | CMYK: 4%, 4%, 0%, 17% | HSV: 240°, 4%, 83%. Copy any format from the conversion table above.
What colors go well with #CACAD3?
The complementary color is HSL(62, 9%, 81%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 9%, 81%) in CSS?
As HSL: color: hsl(242, 9%, 81%); — As HEX: color: #CACAD3; — As RGB: color: rgb(202, 202, 211); — Tailwind CSS: bg-[hsl(242,9%,81%)] — CSS variable: --color-primary: hsl(242, 9%, 81%);