HSL(266, 97%, 55%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,97%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 97%, 55%) | color: hsl(266, 97%, 55%) | |
| HEX | #7D1DFC | color: #7D1DFC | |
| RGB | rgb(125, 29, 252) | color: rgb(125, 29, 252) | |
| CMYK | cmyk(50%, 88%, 0%, 1%) | — | |
| HSV | hsv(266, 88%, 99%) | — | |
| HWB | hwb(266 12% 1%) | color: hwb(266 12% 1%) | |
| OKLCH | oklch(0.5336 0.2817 292.74) | color: oklch(0.5336 0.2817 292.74) | |
| Lab | lab(41.64 78.06 -90.42) | color: lab(41.64 78.06 -90.42) | |
| LCH | lch(41.64 119.45 310.8) | color: lch(41.64 119.45 310.8) |
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)
#5353C6 — rgb(83, 83, 198)
Deuteranopia (Green-blind)
#5960B9 — rgb(89, 96, 185)
Tritanopia (Blue-blind)
#789B92 — rgb(120, 155, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 97%, 55%);
text
color: hsl(266, 97%, 55%);
border
border: 2px solid hsl(266, 97%, 55%);
gradient light
background: linear-gradient(to right, hsl(266, 97%, 75%), hsl(266, 97%, 55%));
gradient dark
background: linear-gradient(to right, hsl(266, 97%, 55%), hsl(266, 97%, 35%))
hex
background-color: #7D1DFC;
tailwind
bg-[hsl(266,97%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 97%, 55%, 0.4);
css variable
--color-primary: hsl(266, 97%, 55%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 97%, 55%)?
HEX: #7D1DFC | RGB: rgb(125, 29, 252) | CMYK: 50%, 88%, 0%, 1% | HSV: 266°, 88%, 99%. Copy any format from the conversion table above.
What colors go well with #7D1DFC?
The complementary color is HSL(86, 97%, 55%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 97%, 55%) in CSS?
As HSL: color: hsl(266, 97%, 55%); — As HEX: color: #7D1DFC; — As RGB: color: rgb(125, 29, 252); — Tailwind CSS: bg-[hsl(266,97%,55%)] — CSS variable: --color-primary: hsl(266, 97%, 55%);