HSL(287, 100%, 45%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,100%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 100%, 45%) | color: hsl(287, 100%, 45%) | |
| HEX | #B400E6 | color: #B400E6 | |
| RGB | rgb(180, 0, 230) | color: rgb(180, 0, 230) | |
| CMYK | cmyk(22%, 100%, 0%, 10%) | — | |
| HSV | hsv(287, 100%, 90%) | — | |
| HWB | hwb(287 0% 10%) | color: hwb(287 0% 10%) | |
| OKLCH | oklch(0.5749 0.2827 315.31) | color: oklch(0.5749 0.2827 315.31) | |
| Lab | lab(46.2 83.68 -70.23) | color: lab(46.2 83.68 -70.23) | |
| LCH | lch(46.2 109.25 319.99) | color: lch(46.2 109.25 319.99) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6664AE — rgb(102, 100, 174)
Deuteranopia (Green-blind)
#717EA1 — rgb(113, 126, 161)
Tritanopia (Blue-blind)
#AB8279 — rgb(171, 130, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 100%, 45%);
text
color: hsl(287, 100%, 45%);
border
border: 2px solid hsl(287, 100%, 45%);
gradient light
background: linear-gradient(to right, hsl(287, 100%, 65%), hsl(287, 100%, 45%));
gradient dark
background: linear-gradient(to right, hsl(287, 100%, 45%), hsl(287, 100%, 25%))
hex
background-color: #B400E6;
tailwind
bg-[hsl(287,100%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 100%, 45%, 0.4);
css variable
--color-primary: hsl(287, 100%, 45%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 100%, 45%)?
HEX: #B400E6 | RGB: rgb(180, 0, 230) | CMYK: 22%, 100%, 0%, 10% | HSV: 287°, 100%, 90%. Copy any format from the conversion table above.
What colors go well with #B400E6?
The complementary color is HSL(107, 100%, 45%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 100%, 45%) in CSS?
As HSL: color: hsl(287, 100%, 45%); — As HEX: color: #B400E6; — As RGB: color: rgb(180, 0, 230); — Tailwind CSS: bg-[hsl(287,100%,45%)] — CSS variable: --color-primary: hsl(287, 100%, 45%);