HSL(305, 20%, 75%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(305,20%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(305, 20%, 75%) | color: hsl(305, 20%, 75%) | |
| HEX | #CCB3CA | color: #CCB3CA | |
| RGB | rgb(204, 179, 202) | color: rgb(204, 179, 202) | |
| CMYK | cmyk(0%, 12%, 1%, 20%) | — | |
| HSV | hsv(305, 12%, 80%) | — | |
| HWB | hwb(305 70% 20%) | color: hwb(305 70% 20%) | |
| OKLCH | oklch(0.7952 0.0423 328.49) | color: oklch(0.7952 0.0423 328.49) | |
| Lab | lab(75.66 13 -8.32) | color: lab(75.66 13 -8.32) | |
| LCH | lch(75.66 15.43 327.38) | color: lch(75.66 15.43 327.38) |
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)
#C1C1C4 — rgb(193, 193, 196)
Deuteranopia (Green-blind)
#C3C5C3 — rgb(195, 197, 195)
Tritanopia (Blue-blind)
#CBC0BF — rgb(203, 192, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(305, 20%, 75%);
text
color: hsl(305, 20%, 75%);
border
border: 2px solid hsl(305, 20%, 75%);
gradient light
background: linear-gradient(to right, hsl(305, 20%, 95%), hsl(305, 20%, 75%));
gradient dark
background: linear-gradient(to right, hsl(305, 20%, 75%), hsl(305, 20%, 55%))
hex
background-color: #CCB3CA;
tailwind
bg-[hsl(305,20%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(305, 20%, 75%, 0.4);
css variable
--color-primary: hsl(305, 20%, 75%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(305, 20%, 75%)?
HEX: #CCB3CA | RGB: rgb(204, 179, 202) | CMYK: 0%, 12%, 1%, 20% | HSV: 305°, 12%, 80%. Copy any format from the conversion table above.
What colors go well with #CCB3CA?
The complementary color is HSL(125, 20%, 75%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(305, 20%, 75%) in CSS?
As HSL: color: hsl(305, 20%, 75%); — As HEX: color: #CCB3CA; — As RGB: color: rgb(204, 179, 202); — Tailwind CSS: bg-[hsl(305,20%,75%)] — CSS variable: --color-primary: hsl(305, 20%, 75%);