HSL(290, 84%, 54%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,84%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 84%, 54%) | color: hsl(290, 84%, 54%) | |
| HEX | #CB27EC | color: #CB27EC | |
| RGB | rgb(203, 39, 236) | color: rgb(203, 39, 236) | |
| CMYK | cmyk(14%, 83%, 0%, 7%) | — | |
| HSV | hsv(290, 83%, 93%) | — | |
| HWB | hwb(290 16% 7%) | color: hwb(290 16% 7%) | |
| OKLCH | oklch(0.6241 0.2786 319.8) | color: oklch(0.6241 0.2786 319.8) | |
| Lab | lab(52.07 82.82 -63.94) | color: lab(52.07 82.82 -63.94) | |
| LCH | lch(52.07 104.63 322.33) | color: lch(52.07 104.63 322.33) |
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)
#8483BC — rgb(132, 131, 188)
Deuteranopia (Green-blind)
#8E9AB1 — rgb(142, 154, 177)
Tritanopia (Blue-blind)
#C3978E — rgb(195, 151, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 84%, 54%);
text
color: hsl(290, 84%, 54%);
border
border: 2px solid hsl(290, 84%, 54%);
gradient light
background: linear-gradient(to right, hsl(290, 84%, 74%), hsl(290, 84%, 54%));
gradient dark
background: linear-gradient(to right, hsl(290, 84%, 54%), hsl(290, 84%, 34%))
hex
background-color: #CB27EC;
tailwind
bg-[hsl(290,84%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 84%, 54%, 0.4);
css variable
--color-primary: hsl(290, 84%, 54%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 84%, 54%)?
HEX: #CB27EC | RGB: rgb(203, 39, 236) | CMYK: 14%, 83%, 0%, 7% | HSV: 290°, 83%, 93%. Copy any format from the conversion table above.
What colors go well with #CB27EC?
The complementary color is HSL(110, 84%, 54%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 84%, 54%) in CSS?
As HSL: color: hsl(290, 84%, 54%); — As HEX: color: #CB27EC; — As RGB: color: rgb(203, 39, 236); — Tailwind CSS: bg-[hsl(290,84%,54%)] — CSS variable: --color-primary: hsl(290, 84%, 54%);