HSL(276, 98%, 50%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,98%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 98%, 50%) | color: hsl(276, 98%, 50%) | |
| HEX | #9803FC | color: #9803FC | |
| RGB | rgb(152, 3, 252) | color: rgb(152, 3, 252) | |
| CMYK | cmyk(40%, 99%, 0%, 1%) | — | |
| HSV | hsv(276, 99%, 99%) | — | |
| HWB | hwb(276 1% 1%) | color: hwb(276 1% 1%) | |
| OKLCH | oklch(0.5564 0.2924 302.13) | color: oklch(0.5564 0.2924 302.13) | |
| Lab | lab(43.9 84.31 -86.57) | color: lab(43.9 84.31 -86.57) | |
| LCH | lch(43.9 120.84 314.24) | color: lch(43.9 120.84 314.24) |
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)
#5756C0 — rgb(87, 86, 192)
Deuteranopia (Green-blind)
#606BB1 — rgb(96, 107, 177)
Tritanopia (Blue-blind)
#919086 — rgb(145, 144, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 98%, 50%);
text
color: hsl(276, 98%, 50%);
border
border: 2px solid hsl(276, 98%, 50%);
gradient light
background: linear-gradient(to right, hsl(276, 98%, 70%), hsl(276, 98%, 50%));
gradient dark
background: linear-gradient(to right, hsl(276, 98%, 50%), hsl(276, 98%, 30%))
hex
background-color: #9803FC;
tailwind
bg-[hsl(276,98%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 98%, 50%, 0.4);
css variable
--color-primary: hsl(276, 98%, 50%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 98%, 50%)?
HEX: #9803FC | RGB: rgb(152, 3, 252) | CMYK: 40%, 99%, 0%, 1% | HSV: 276°, 99%, 99%. Copy any format from the conversion table above.
What colors go well with #9803FC?
The complementary color is HSL(96, 98%, 50%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 98%, 50%) in CSS?
As HSL: color: hsl(276, 98%, 50%); — As HEX: color: #9803FC; — As RGB: color: rgb(152, 3, 252); — Tailwind CSS: bg-[hsl(276,98%,50%)] — CSS variable: --color-primary: hsl(276, 98%, 50%);