HSL(291, 70%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,70%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 70%, 53%) | color: hsl(291, 70%, 53%) | |
| HEX | #C233DB | color: #C233DB | |
| RGB | rgb(194, 51, 219) | color: rgb(194, 51, 219) | |
| CMYK | cmyk(11%, 77%, 0%, 14%) | — | |
| HSV | hsv(291, 77%, 86%) | — | |
| HWB | hwb(291 20% 14%) | color: hwb(291 20% 14%) | |
| OKLCH | oklch(0.6078 0.2531 321.1) | color: oklch(0.6078 0.2531 321.1) | |
| Lab | lab(50.63 75.28 -56.7) | color: lab(50.63 75.28 -56.7) | |
| LCH | lch(50.63 94.24 323.01) | color: lch(50.63 94.24 323.01) |
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)
#8483B2 — rgb(132, 131, 178)
Deuteranopia (Green-blind)
#8C97A9 — rgb(140, 151, 169)
Tritanopia (Blue-blind)
#BB928B — rgb(187, 146, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 70%, 53%);
text
color: hsl(291, 70%, 53%);
border
border: 2px solid hsl(291, 70%, 53%);
gradient light
background: linear-gradient(to right, hsl(291, 70%, 73%), hsl(291, 70%, 53%));
gradient dark
background: linear-gradient(to right, hsl(291, 70%, 53%), hsl(291, 70%, 33%))
hex
background-color: #C233DB;
tailwind
bg-[hsl(291,70%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 70%, 53%, 0.4);
css variable
--color-primary: hsl(291, 70%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 70%, 53%)?
HEX: #C233DB | RGB: rgb(194, 51, 219) | CMYK: 11%, 77%, 0%, 14% | HSV: 291°, 77%, 86%. Copy any format from the conversion table above.
What colors go well with #C233DB?
The complementary color is HSL(111, 70%, 53%). 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, 70%, 53%) in CSS?
As HSL: color: hsl(291, 70%, 53%); — As HEX: color: #C233DB; — As RGB: color: rgb(194, 51, 219); — Tailwind CSS: bg-[hsl(291,70%,53%)] — CSS variable: --color-primary: hsl(291, 70%, 53%);