HSL(272, 94%, 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(272,94%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 94%, 50%) | color: hsl(272, 94%, 50%) | |
| HEX | #8708F7 | color: #8708F7 | |
| RGB | rgb(135, 8, 247) | color: rgb(135, 8, 247) | |
| CMYK | cmyk(45%, 97%, 0%, 3%) | — | |
| HSV | hsv(272, 97%, 97%) | — | |
| HWB | hwb(272 3% 3%) | color: hwb(272 3% 3%) | |
| OKLCH | oklch(0.5325 0.2851 297.54) | color: oklch(0.5325 0.2851 297.54) | |
| Lab | lab(41.28 81.23 -88.16) | color: lab(41.28 81.23 -88.16) | |
| LCH | lch(41.28 119.88 312.66) | color: lch(41.28 119.88 312.66) |
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)
#504FBD — rgb(80, 79, 189)
Deuteranopia (Green-blind)
#5761AF — rgb(87, 97, 175)
Tritanopia (Blue-blind)
#819085 — rgb(129, 144, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 94%, 50%);
text
color: hsl(272, 94%, 50%);
border
border: 2px solid hsl(272, 94%, 50%);
gradient light
background: linear-gradient(to right, hsl(272, 94%, 70%), hsl(272, 94%, 50%));
gradient dark
background: linear-gradient(to right, hsl(272, 94%, 50%), hsl(272, 94%, 30%))
hex
background-color: #8708F7;
tailwind
bg-[hsl(272,94%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 94%, 50%, 0.4);
css variable
--color-primary: hsl(272, 94%, 50%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 94%, 50%)?
HEX: #8708F7 | RGB: rgb(135, 8, 247) | CMYK: 45%, 97%, 0%, 3% | HSV: 272°, 97%, 97%. Copy any format from the conversion table above.
What colors go well with #8708F7?
The complementary color is HSL(92, 94%, 50%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 94%, 50%) in CSS?
As HSL: color: hsl(272, 94%, 50%); — As HEX: color: #8708F7; — As RGB: color: rgb(135, 8, 247); — Tailwind CSS: bg-[hsl(272,94%,50%)] — CSS variable: --color-primary: hsl(272, 94%, 50%);