HSL(263, 70%, 62%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,70%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 70%, 62%) | color: hsl(263, 70%, 62%) | |
| HEX | #8E5AE2 | color: #8E5AE2 | |
| RGB | rgb(142, 90, 226) | color: rgb(142, 90, 226) | |
| CMYK | cmyk(37%, 60%, 0%, 11%) | — | |
| HSV | hsv(263, 60%, 89%) | — | |
| HWB | hwb(263 36% 11%) | color: hwb(263 36% 11%) | |
| OKLCH | oklch(0.5916 0.1983 297.63) | color: oklch(0.5916 0.1983 297.63) | |
| Lab | lab(50.16 49.62 -61.78) | color: lab(50.16 49.62 -61.78) | |
| LCH | lch(50.16 79.24 308.77) | color: lch(50.16 79.24 308.77) |
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)
#7777C1 — rgb(119, 119, 193)
Deuteranopia (Green-blind)
#7B7EB9 — rgb(123, 126, 185)
Tritanopia (Blue-blind)
#8BA7A1 — rgb(139, 167, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 70%, 62%);
text
color: hsl(263, 70%, 62%);
border
border: 2px solid hsl(263, 70%, 62%);
gradient light
background: linear-gradient(to right, hsl(263, 70%, 82%), hsl(263, 70%, 62%));
gradient dark
background: linear-gradient(to right, hsl(263, 70%, 62%), hsl(263, 70%, 42%))
hex
background-color: #8E5AE2;
tailwind
bg-[hsl(263,70%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 70%, 62%, 0.4);
css variable
--color-primary: hsl(263, 70%, 62%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 70%, 62%)?
HEX: #8E5AE2 | RGB: rgb(142, 90, 226) | CMYK: 37%, 60%, 0%, 11% | HSV: 263°, 60%, 89%. Copy any format from the conversion table above.
What colors go well with #8E5AE2?
The complementary color is HSL(83, 70%, 62%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 70%, 62%) in CSS?
As HSL: color: hsl(263, 70%, 62%); — As HEX: color: #8E5AE2; — As RGB: color: rgb(142, 90, 226); — Tailwind CSS: bg-[hsl(263,70%,62%)] — CSS variable: --color-primary: hsl(263, 70%, 62%);