HSL(285, 90%, 50%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,90%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 90%, 50%) | color: hsl(285, 90%, 50%) | |
| HEX | #B90DF2 | color: #B90DF2 | |
| RGB | rgb(185, 13, 242) | color: rgb(185, 13, 242) | |
| CMYK | cmyk(24%, 95%, 0%, 5%) | — | |
| HSV | hsv(285, 95%, 95%) | — | |
| HWB | hwb(285 5% 5%) | color: hwb(285 5% 5%) | |
| OKLCH | oklch(0.5936 0.2895 313.91) | color: oklch(0.5936 0.2895 313.91) | |
| Lab | lab(48.28 85.29 -73.59) | color: lab(48.28 85.29 -73.59) | |
| LCH | lch(48.28 112.65 319.21) | color: lch(48.28 112.65 319.21) |
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)
#6F6DBB — rgb(111, 109, 187)
Deuteranopia (Green-blind)
#7985AD — rgb(121, 133, 173)
Tritanopia (Blue-blind)
#B08F85 — rgb(176, 143, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 90%, 50%);
text
color: hsl(285, 90%, 50%);
border
border: 2px solid hsl(285, 90%, 50%);
gradient light
background: linear-gradient(to right, hsl(285, 90%, 70%), hsl(285, 90%, 50%));
gradient dark
background: linear-gradient(to right, hsl(285, 90%, 50%), hsl(285, 90%, 30%))
hex
background-color: #B90DF2;
tailwind
bg-[hsl(285,90%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 90%, 50%, 0.4);
css variable
--color-primary: hsl(285, 90%, 50%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 90%, 50%)?
HEX: #B90DF2 | RGB: rgb(185, 13, 242) | CMYK: 24%, 95%, 0%, 5% | HSV: 285°, 95%, 95%. Copy any format from the conversion table above.
What colors go well with #B90DF2?
The complementary color is HSL(105, 90%, 50%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 90%, 50%) in CSS?
As HSL: color: hsl(285, 90%, 50%); — As HEX: color: #B90DF2; — As RGB: color: rgb(185, 13, 242); — Tailwind CSS: bg-[hsl(285,90%,50%)] — CSS variable: --color-primary: hsl(285, 90%, 50%);