HSL(291, 30%, 75%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,30%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 30%, 75%) | color: hsl(291, 30%, 75%) | |
| HEX | #CDACD2 | color: #CDACD2 | |
| RGB | rgb(205, 172, 210) | color: rgb(205, 172, 210) | |
| CMYK | cmyk(2%, 18%, 0%, 18%) | — | |
| HSV | hsv(292, 18%, 82%) | — | |
| HWB | hwb(292 67% 18%) | color: hwb(292 67% 18%) | |
| OKLCH | oklch(0.7854 0.0642 321.87) | color: oklch(0.7854 0.0642 321.87) | |
| Lab | lab(74.28 18.65 -14.75) | color: lab(74.28 18.65 -14.75) | |
| LCH | lch(74.28 23.78 321.66) | color: lch(74.28 23.78 321.66) |
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)
#BFBEC9 — rgb(191, 190, 201)
Deuteranopia (Green-blind)
#C1C3C7 — rgb(193, 195, 199)
Tritanopia (Blue-blind)
#CBC2C0 — rgb(203, 194, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 30%, 75%);
text
color: hsl(291, 30%, 75%);
border
border: 2px solid hsl(291, 30%, 75%);
gradient light
background: linear-gradient(to right, hsl(291, 30%, 95%), hsl(291, 30%, 75%));
gradient dark
background: linear-gradient(to right, hsl(291, 30%, 75%), hsl(291, 30%, 55%))
hex
background-color: #CDACD2;
tailwind
bg-[hsl(291,30%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 30%, 75%, 0.4);
css variable
--color-primary: hsl(291, 30%, 75%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 30%, 75%)?
HEX: #CDACD2 | RGB: rgb(205, 172, 210) | CMYK: 2%, 18%, 0%, 18% | HSV: 292°, 18%, 82%. Copy any format from the conversion table above.
What colors go well with #CDACD2?
The complementary color is HSL(111, 30%, 75%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 30%, 75%) in CSS?
As HSL: color: hsl(291, 30%, 75%); — As HEX: color: #CDACD2; — As RGB: color: rgb(205, 172, 210); — Tailwind CSS: bg-[hsl(291,30%,75%)] — CSS variable: --color-primary: hsl(291, 30%, 75%);