HSL(308, 27%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,27%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 27%, 73%) | color: hsl(308, 27%, 73%) | |
| HEX | #CDA8C8 | color: #CDA8C8 | |
| RGB | rgb(205, 168, 200) | color: rgb(205, 168, 200) | |
| CMYK | cmyk(0%, 18%, 2%, 20%) | — | |
| HSV | hsv(308, 18%, 80%) | — | |
| HWB | hwb(308 66% 20%) | color: hwb(308 66% 20%) | |
| OKLCH | oklch(0.7745 0.061 330.68) | color: oklch(0.7745 0.061 330.68) | |
| Lab | lab(72.99 18.96 -11.2) | color: lab(72.99 18.96 -11.2) | |
| LCH | lch(72.99 22.02 329.43) | color: lch(72.99 22.02 329.43) |
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)
#BDBDC0 — rgb(189, 189, 192)
Deuteranopia (Green-blind)
#BFC2BE — rgb(191, 194, 190)
Tritanopia (Blue-blind)
#CBBAB9 — rgb(203, 186, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 27%, 73%);
text
color: hsl(308, 27%, 73%);
border
border: 2px solid hsl(308, 27%, 73%);
gradient light
background: linear-gradient(to right, hsl(308, 27%, 93%), hsl(308, 27%, 73%));
gradient dark
background: linear-gradient(to right, hsl(308, 27%, 73%), hsl(308, 27%, 53%))
hex
background-color: #CDA8C8;
tailwind
bg-[hsl(308,27%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 27%, 73%, 0.4);
css variable
--color-primary: hsl(308, 27%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 27%, 73%)?
HEX: #CDA8C8 | RGB: rgb(205, 168, 200) | CMYK: 0%, 18%, 2%, 20% | HSV: 308°, 18%, 80%. Copy any format from the conversion table above.
What colors go well with #CDA8C8?
The complementary color is HSL(128, 27%, 73%). 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, 27%, 73%) in CSS?
As HSL: color: hsl(308, 27%, 73%); — As HEX: color: #CDA8C8; — As RGB: color: rgb(205, 168, 200); — Tailwind CSS: bg-[hsl(308,27%,73%)] — CSS variable: --color-primary: hsl(308, 27%, 73%);