HSL(293, 35%, 70%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,35%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 35%, 70%) | color: hsl(293, 35%, 70%) | |
| HEX | #C798CD | color: #C798CD | |
| RGB | rgb(199, 152, 205) | color: rgb(199, 152, 205) | |
| CMYK | cmyk(3%, 26%, 0%, 20%) | — | |
| HSV | hsv(293, 26%, 80%) | — | |
| HWB | hwb(293 59% 20%) | color: hwb(293 59% 20%) | |
| OKLCH | oklch(0.7411 0.0909 322.62) | color: oklch(0.7411 0.0909 322.62) | |
| Lab | lab(68.76 26.66 -20.4) | color: lab(68.76 26.66 -20.4) | |
| LCH | lch(68.76 33.57 322.58) | color: lch(68.76 33.57 322.58) |
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)
#B3B2C0 — rgb(179, 178, 192)
Deuteranopia (Green-blind)
#B5B9BD — rgb(181, 185, 189)
Tritanopia (Blue-blind)
#C5B6B4 — rgb(197, 182, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 35%, 70%);
text
color: hsl(293, 35%, 70%);
border
border: 2px solid hsl(293, 35%, 70%);
gradient light
background: linear-gradient(to right, hsl(293, 35%, 90%), hsl(293, 35%, 70%));
gradient dark
background: linear-gradient(to right, hsl(293, 35%, 70%), hsl(293, 35%, 50%))
hex
background-color: #C798CD;
tailwind
bg-[hsl(293,35%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 35%, 70%, 0.4);
css variable
--color-primary: hsl(293, 35%, 70%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 35%, 70%)?
HEX: #C798CD | RGB: rgb(199, 152, 205) | CMYK: 3%, 26%, 0%, 20% | HSV: 293°, 26%, 80%. Copy any format from the conversion table above.
What colors go well with #C798CD?
The complementary color is HSL(113, 35%, 70%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 35%, 70%) in CSS?
As HSL: color: hsl(293, 35%, 70%); — As HEX: color: #C798CD; — As RGB: color: rgb(199, 152, 205); — Tailwind CSS: bg-[hsl(293,35%,70%)] — CSS variable: --color-primary: hsl(293, 35%, 70%);