HSL(262, 64%, 63%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,64%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 64%, 63%) | color: hsl(262, 64%, 63%) | |
| HEX | #9164DD | color: #9164DD | |
| RGB | rgb(145, 100, 221) | color: rgb(145, 100, 221) | |
| CMYK | cmyk(34%, 55%, 0%, 13%) | — | |
| HSV | hsv(262, 55%, 87%) | — | |
| HWB | hwb(262 39% 13%) | color: hwb(262 39% 13%) | |
| OKLCH | oklch(0.6065 0.1784 298.05) | color: oklch(0.6065 0.1784 298.05) | |
| Lab | lab(52.24 43.58 -55.6) | color: lab(52.24 43.58 -55.6) | |
| LCH | lch(52.24 70.64 308.09) | color: lch(52.24 70.64 308.09) |
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)
#7E7DC0 — rgb(126, 125, 192)
Deuteranopia (Green-blind)
#8084B9 — rgb(128, 132, 185)
Tritanopia (Blue-blind)
#8FA9A4 — rgb(143, 169, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 64%, 63%);
text
color: hsl(262, 64%, 63%);
border
border: 2px solid hsl(262, 64%, 63%);
gradient light
background: linear-gradient(to right, hsl(262, 64%, 83%), hsl(262, 64%, 63%));
gradient dark
background: linear-gradient(to right, hsl(262, 64%, 63%), hsl(262, 64%, 43%))
hex
background-color: #9164DD;
tailwind
bg-[hsl(262,64%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 64%, 63%, 0.4);
css variable
--color-primary: hsl(262, 64%, 63%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 64%, 63%)?
HEX: #9164DD | RGB: rgb(145, 100, 221) | CMYK: 34%, 55%, 0%, 13% | HSV: 262°, 55%, 87%. Copy any format from the conversion table above.
What colors go well with #9164DD?
The complementary color is HSL(82, 64%, 63%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 64%, 63%) in CSS?
As HSL: color: hsl(262, 64%, 63%); — As HEX: color: #9164DD; — As RGB: color: rgb(145, 100, 221); — Tailwind CSS: bg-[hsl(262,64%,63%)] — CSS variable: --color-primary: hsl(262, 64%, 63%);