HSL(291, 72%, 61%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,72%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 72%, 61%) | color: hsl(291, 72%, 61%) | |
| HEX | #CE54E3 | color: #CE54E3 | |
| RGB | rgb(206, 84, 227) | color: rgb(206, 84, 227) | |
| CMYK | cmyk(9%, 63%, 0%, 11%) | — | |
| HSV | hsv(291, 63%, 89%) | — | |
| HWB | hwb(291 33% 11%) | color: hwb(291 33% 11%) | |
| OKLCH | oklch(0.659 0.2275 321.5) | color: oklch(0.659 0.2275 321.5) | |
| Lab | lab(57.09 67.28 -50.81) | color: lab(57.09 67.28 -50.81) | |
| LCH | lch(57.09 84.31 322.94) | color: lch(57.09 84.31 322.94) |
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)
#9998C0 — rgb(153, 152, 192)
Deuteranopia (Green-blind)
#A0A9B8 — rgb(160, 169, 184)
Tritanopia (Blue-blind)
#C8A59F — rgb(200, 165, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 72%, 61%);
text
color: hsl(291, 72%, 61%);
border
border: 2px solid hsl(291, 72%, 61%);
gradient light
background: linear-gradient(to right, hsl(291, 72%, 81%), hsl(291, 72%, 61%));
gradient dark
background: linear-gradient(to right, hsl(291, 72%, 61%), hsl(291, 72%, 41%))
hex
background-color: #CE54E3;
tailwind
bg-[hsl(291,72%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 72%, 61%, 0.4);
css variable
--color-primary: hsl(291, 72%, 61%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 72%, 61%)?
HEX: #CE54E3 | RGB: rgb(206, 84, 227) | CMYK: 9%, 63%, 0%, 11% | HSV: 291°, 63%, 89%. Copy any format from the conversion table above.
What colors go well with #CE54E3?
The complementary color is HSL(111, 72%, 61%). 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, 72%, 61%) in CSS?
As HSL: color: hsl(291, 72%, 61%); — As HEX: color: #CE54E3; — As RGB: color: rgb(206, 84, 227); — Tailwind CSS: bg-[hsl(291,72%,61%)] — CSS variable: --color-primary: hsl(291, 72%, 61%);