HSL(272, 83%, 52%)
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,83%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 83%, 52%) | color: hsl(272, 83%, 52%) | |
| HEX | #8B1FEA | color: #8B1FEA | |
| RGB | rgb(139, 31, 234) | color: rgb(139, 31, 234) | |
| CMYK | cmyk(41%, 87%, 0%, 8%) | — | |
| HSV | hsv(272, 87%, 92%) | — | |
| HWB | hwb(272 12% 8%) | color: hwb(272 12% 8%) | |
| OKLCH | oklch(0.5339 0.2658 300.74) | color: oklch(0.5339 0.2658 300.74) | |
| Lab | lab(41.86 75.12 -79.85) | color: lab(41.86 75.12 -79.85) | |
| LCH | lch(41.86 109.63 313.25) | color: lch(41.86 109.63 313.25) |
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)
#5C5BB9 — rgb(92, 91, 185)
Deuteranopia (Green-blind)
#636BAD — rgb(99, 107, 173)
Tritanopia (Blue-blind)
#86928A — rgb(134, 146, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 83%, 52%);
text
color: hsl(272, 83%, 52%);
border
border: 2px solid hsl(272, 83%, 52%);
gradient light
background: linear-gradient(to right, hsl(272, 83%, 72%), hsl(272, 83%, 52%));
gradient dark
background: linear-gradient(to right, hsl(272, 83%, 52%), hsl(272, 83%, 32%))
hex
background-color: #8B1FEA;
tailwind
bg-[hsl(272,83%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 83%, 52%, 0.4);
css variable
--color-primary: hsl(272, 83%, 52%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 83%, 52%)?
HEX: #8B1FEA | RGB: rgb(139, 31, 234) | CMYK: 41%, 87%, 0%, 8% | HSV: 272°, 87%, 92%. Copy any format from the conversion table above.
What colors go well with #8B1FEA?
The complementary color is HSL(92, 83%, 52%). 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, 83%, 52%) in CSS?
As HSL: color: hsl(272, 83%, 52%); — As HEX: color: #8B1FEA; — As RGB: color: rgb(139, 31, 234); — Tailwind CSS: bg-[hsl(272,83%,52%)] — CSS variable: --color-primary: hsl(272, 83%, 52%);