HSL(276, 98%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,98%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 98%, 71%) | color: hsl(276, 98%, 71%) | |
| HEX | #C46DFE | color: #C46DFE | |
| RGB | rgb(196, 109, 254) | color: rgb(196, 109, 254) | |
| CMYK | cmyk(23%, 57%, 0%, 0%) | — | |
| HSV | hsv(276, 57%, 100%) | — | |
| HWB | hwb(276 43% 0%) | color: hwb(276 43% 0%) | |
| OKLCH | oklch(0.6932 0.2148 309.6) | color: oklch(0.6932 0.2148 309.6) | |
| Lab | lab(61.51 58.82 -58.86) | color: lab(61.51 58.82 -58.86) | |
| LCH | lch(61.51 83.21 314.98) | color: lch(61.51 83.21 314.98) |
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)
#9E9EDB — rgb(158, 158, 219)
Deuteranopia (Green-blind)
#A3AAD3 — rgb(163, 170, 211)
Tritanopia (Blue-blind)
#C0BFB9 — rgb(192, 191, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 98%, 71%);
text
color: hsl(276, 98%, 71%);
border
border: 2px solid hsl(276, 98%, 71%);
gradient light
background: linear-gradient(to right, hsl(276, 98%, 91%), hsl(276, 98%, 71%));
gradient dark
background: linear-gradient(to right, hsl(276, 98%, 71%), hsl(276, 98%, 51%))
hex
background-color: #C46DFE;
tailwind
bg-[hsl(276,98%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 98%, 71%, 0.4);
css variable
--color-primary: hsl(276, 98%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 98%, 71%)?
HEX: #C46DFE | RGB: rgb(196, 109, 254) | CMYK: 23%, 57%, 0%, 0% | HSV: 276°, 57%, 100%. Copy any format from the conversion table above.
What colors go well with #C46DFE?
The complementary color is HSL(96, 98%, 71%). 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%, 71%) in CSS?
As HSL: color: hsl(276, 98%, 71%); — As HEX: color: #C46DFE; — As RGB: color: rgb(196, 109, 254); — Tailwind CSS: bg-[hsl(276,98%,71%)] — CSS variable: --color-primary: hsl(276, 98%, 71%);