HSL(291, 65%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,65%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 65%, 65%) | color: hsl(291, 65%, 65%) | |
| HEX | #CE6CE0 | color: #CE6CE0 | |
| RGB | rgb(206, 108, 224) | color: rgb(206, 108, 224) | |
| CMYK | cmyk(8%, 52%, 0%, 12%) | — | |
| HSV | hsv(291, 52%, 88%) | — | |
| HWB | hwb(291 42% 12%) | color: hwb(291 42% 12%) | |
| OKLCH | oklch(0.6869 0.19 321.22) | color: oklch(0.6869 0.19 321.22) | |
| Lab | lab(60.98 55.75 -42.96) | color: lab(60.98 55.75 -42.96) | |
| LCH | lch(60.98 70.38 322.38) | color: lch(60.98 70.38 322.38) |
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)
#A4A3C4 — rgb(164, 163, 196)
Deuteranopia (Green-blind)
#A9B1BD — rgb(169, 177, 189)
Tritanopia (Blue-blind)
#C9AEA9 — rgb(201, 174, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 65%, 65%);
text
color: hsl(291, 65%, 65%);
border
border: 2px solid hsl(291, 65%, 65%);
gradient light
background: linear-gradient(to right, hsl(291, 65%, 85%), hsl(291, 65%, 65%));
gradient dark
background: linear-gradient(to right, hsl(291, 65%, 65%), hsl(291, 65%, 45%))
hex
background-color: #CE6CE0;
tailwind
bg-[hsl(291,65%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 65%, 65%, 0.4);
css variable
--color-primary: hsl(291, 65%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 65%, 65%)?
HEX: #CE6CE0 | RGB: rgb(206, 108, 224) | CMYK: 8%, 52%, 0%, 12% | HSV: 291°, 52%, 88%. Copy any format from the conversion table above.
What colors go well with #CE6CE0?
The complementary color is HSL(111, 65%, 65%). 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, 65%, 65%) in CSS?
As HSL: color: hsl(291, 65%, 65%); — As HEX: color: #CE6CE0; — As RGB: color: rgb(206, 108, 224); — Tailwind CSS: bg-[hsl(291,65%,65%)] — CSS variable: --color-primary: hsl(291, 65%, 65%);