HSL(295, 83%, 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(295,83%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 83%, 54%) | color: hsl(295, 83%, 54%) | |
| HEX | #DB28EB | color: #DB28EB | |
| RGB | rgb(219, 40, 235) | color: rgb(219, 40, 235) | |
| CMYK | cmyk(7%, 83%, 0%, 8%) | — | |
| HSV | hsv(295, 83%, 92%) | — | |
| HWB | hwb(295 16% 8%) | color: hwb(295 16% 8%) | |
| OKLCH | oklch(0.6468 0.2828 324.26) | color: oklch(0.6468 0.2828 324.26) | |
| Lab | lab(54.64 85.14 -59.11) | color: lab(54.64 85.14 -59.11) | |
| LCH | lch(54.64 103.65 325.23) | color: lch(54.64 103.65 325.23) |
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)
#8D8CBC — rgb(141, 140, 188)
Deuteranopia (Green-blind)
#98A5B1 — rgb(152, 165, 177)
Tritanopia (Blue-blind)
#D2978E — rgb(210, 151, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 83%, 54%);
text
color: hsl(295, 83%, 54%);
border
border: 2px solid hsl(295, 83%, 54%);
gradient light
background: linear-gradient(to right, hsl(295, 83%, 74%), hsl(295, 83%, 54%));
gradient dark
background: linear-gradient(to right, hsl(295, 83%, 54%), hsl(295, 83%, 34%))
hex
background-color: #DB28EB;
tailwind
bg-[hsl(295,83%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 83%, 54%, 0.4);
css variable
--color-primary: hsl(295, 83%, 54%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 83%, 54%)?
HEX: #DB28EB | RGB: rgb(219, 40, 235) | CMYK: 7%, 83%, 0%, 8% | HSV: 295°, 83%, 92%. Copy any format from the conversion table above.
What colors go well with #DB28EB?
The complementary color is HSL(115, 83%, 54%). 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, 83%, 54%) in CSS?
As HSL: color: hsl(295, 83%, 54%); — As HEX: color: #DB28EB; — As RGB: color: rgb(219, 40, 235); — Tailwind CSS: bg-[hsl(295,83%,54%)] — CSS variable: --color-primary: hsl(295, 83%, 54%);