HSL(271, 100%, 65%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(271,100%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 100%, 65%) | color: hsl(271, 100%, 65%) | |
| HEX | #A94DFF | color: #A94DFF | |
| RGB | rgb(169, 77, 255) | color: rgb(169, 77, 255) | |
| CMYK | cmyk(34%, 70%, 0%, 0%) | — | |
| HSV | hsv(271, 70%, 100%) | — | |
| HWB | hwb(271 30% 0%) | color: hwb(271 30% 0%) | |
| OKLCH | oklch(0.6244 0.2504 303.44) | color: oklch(0.6244 0.2504 303.44) | |
| Lab | lab(52.91 68.27 -73.42) | color: lab(52.91 68.27 -73.42) | |
| LCH | lch(52.91 100.26 312.92) | color: lch(52.91 100.26 312.92) |
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)
#8180D4 — rgb(129, 128, 212)
Deuteranopia (Green-blind)
#878DCA — rgb(135, 141, 202)
Tritanopia (Blue-blind)
#A4B2AA — rgb(164, 178, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 100%, 65%);
text
color: hsl(271, 100%, 65%);
border
border: 2px solid hsl(271, 100%, 65%);
gradient light
background: linear-gradient(to right, hsl(271, 100%, 85%), hsl(271, 100%, 65%));
gradient dark
background: linear-gradient(to right, hsl(271, 100%, 65%), hsl(271, 100%, 45%))
hex
background-color: #A94DFF;
tailwind
bg-[hsl(271,100%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 100%, 65%, 0.4);
css variable
--color-primary: hsl(271, 100%, 65%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 100%, 65%)?
HEX: #A94DFF | RGB: rgb(169, 77, 255) | CMYK: 34%, 70%, 0%, 0% | HSV: 271°, 70%, 100%. Copy any format from the conversion table above.
What colors go well with #A94DFF?
The complementary color is HSL(91, 100%, 65%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 100%, 65%) in CSS?
As HSL: color: hsl(271, 100%, 65%); — As HEX: color: #A94DFF; — As RGB: color: rgb(169, 77, 255); — Tailwind CSS: bg-[hsl(271,100%,65%)] — CSS variable: --color-primary: hsl(271, 100%, 65%);