HSL(310, 90%, 59%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,90%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 90%, 59%) | color: hsl(310, 90%, 59%) | |
| HEX | #F538D5 | color: #F538D5 | |
| RGB | rgb(245, 56, 213) | color: rgb(245, 56, 213) | |
| CMYK | cmyk(0%, 77%, 13%, 4%) | — | |
| HSV | hsv(310, 77%, 96%) | — | |
| HWB | hwb(310 22% 4%) | color: hwb(310 22% 4%) | |
| OKLCH | oklch(0.6822 0.267 336.22) | color: oklch(0.6822 0.267 336.22) | |
| Lab | lab(59.02 83.15 -39.46) | color: lab(59.02 83.15 -39.46) | |
| LCH | lch(59.02 92.04 334.61) | color: lch(59.02 92.04 334.61) |
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)
#A3A1AF — rgb(163, 161, 175)
Deuteranopia (Green-blind)
#AEBCA6 — rgb(174, 188, 166)
Tritanopia (Blue-blind)
#EC918A — rgb(236, 145, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 90%, 59%);
text
color: hsl(310, 90%, 59%);
border
border: 2px solid hsl(310, 90%, 59%);
gradient light
background: linear-gradient(to right, hsl(310, 90%, 79%), hsl(310, 90%, 59%));
gradient dark
background: linear-gradient(to right, hsl(310, 90%, 59%), hsl(310, 90%, 39%))
hex
background-color: #F538D5;
tailwind
bg-[hsl(310,90%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 90%, 59%, 0.4);
css variable
--color-primary: hsl(310, 90%, 59%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 90%, 59%)?
HEX: #F538D5 | RGB: rgb(245, 56, 213) | CMYK: 0%, 77%, 13%, 4% | HSV: 310°, 77%, 96%. Copy any format from the conversion table above.
What colors go well with #F538D5?
The complementary color is HSL(130, 90%, 59%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 90%, 59%) in CSS?
As HSL: color: hsl(310, 90%, 59%); — As HEX: color: #F538D5; — As RGB: color: rgb(245, 56, 213); — Tailwind CSS: bg-[hsl(310,90%,59%)] — CSS variable: --color-primary: hsl(310, 90%, 59%);