HSL(295, 70%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,70%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 70%, 53%) | color: hsl(295, 70%, 53%) | |
| HEX | #CD33DB | color: #CD33DB | |
| RGB | rgb(205, 51, 219) | color: rgb(205, 51, 219) | |
| CMYK | cmyk(6%, 77%, 0%, 14%) | — | |
| HSV | hsv(295, 77%, 86%) | — | |
| HWB | hwb(295 20% 14%) | color: hwb(295 20% 14%) | |
| OKLCH | oklch(0.6234 0.2574 324.29) | color: oklch(0.6234 0.2574 324.29) | |
| Lab | lab(52.36 77.36 -53.84) | color: lab(52.36 77.36 -53.84) | |
| LCH | lch(52.36 94.25 325.16) | color: lch(52.36 94.25 325.16) |
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)
#8A89B2 — rgb(138, 137, 178)
Deuteranopia (Green-blind)
#939FA9 — rgb(147, 159, 169)
Tritanopia (Blue-blind)
#C5928B — rgb(197, 146, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 70%, 53%);
text
color: hsl(295, 70%, 53%);
border
border: 2px solid hsl(295, 70%, 53%);
gradient light
background: linear-gradient(to right, hsl(295, 70%, 73%), hsl(295, 70%, 53%));
gradient dark
background: linear-gradient(to right, hsl(295, 70%, 53%), hsl(295, 70%, 33%))
hex
background-color: #CD33DB;
tailwind
bg-[hsl(295,70%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 70%, 53%, 0.4);
css variable
--color-primary: hsl(295, 70%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 70%, 53%)?
HEX: #CD33DB | RGB: rgb(205, 51, 219) | CMYK: 6%, 77%, 0%, 14% | HSV: 295°, 77%, 86%. Copy any format from the conversion table above.
What colors go well with #CD33DB?
The complementary color is HSL(115, 70%, 53%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 70%, 53%) in CSS?
As HSL: color: hsl(295, 70%, 53%); — As HEX: color: #CD33DB; — As RGB: color: rgb(205, 51, 219); — Tailwind CSS: bg-[hsl(295,70%,53%)] — CSS variable: --color-primary: hsl(295, 70%, 53%);