HSL(263, 40%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(263,40%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 40%, 60%) | color: hsl(263, 40%, 60%) | |
| HEX | #8F70C2 | color: #8F70C2 | |
| RGB | rgb(143, 112, 194) | color: rgb(143, 112, 194) | |
| CMYK | cmyk(26%, 42%, 0%, 24%) | — | |
| HSV | hsv(263, 42%, 76%) | — | |
| HWB | hwb(263 44% 24%) | color: hwb(263 44% 24%) | |
| OKLCH | oklch(0.6092 0.1246 300.16) | color: oklch(0.6092 0.1246 300.16) | |
| Lab | lab(53.3 29.39 -38.56) | color: lab(53.3 29.39 -38.56) | |
| LCH | lch(53.3 48.48 307.31) | color: lch(53.3 48.48 307.31) |
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)
#8281AE — rgb(130, 129, 174)
Deuteranopia (Green-blind)
#8386A9 — rgb(131, 134, 169)
Tritanopia (Blue-blind)
#8D9E9B — rgb(141, 158, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 40%, 60%);
text
color: hsl(263, 40%, 60%);
border
border: 2px solid hsl(263, 40%, 60%);
gradient light
background: linear-gradient(to right, hsl(263, 40%, 80%), hsl(263, 40%, 60%));
gradient dark
background: linear-gradient(to right, hsl(263, 40%, 60%), hsl(263, 40%, 40%))
hex
background-color: #8F70C2;
tailwind
bg-[hsl(263,40%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 40%, 60%, 0.4);
css variable
--color-primary: hsl(263, 40%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 40%, 60%)?
HEX: #8F70C2 | RGB: rgb(143, 112, 194) | CMYK: 26%, 42%, 0%, 24% | HSV: 263°, 42%, 76%. Copy any format from the conversion table above.
What colors go well with #8F70C2?
The complementary color is HSL(83, 40%, 60%). 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, 40%, 60%) in CSS?
As HSL: color: hsl(263, 40%, 60%); — As HEX: color: #8F70C2; — As RGB: color: rgb(143, 112, 194); — Tailwind CSS: bg-[hsl(263,40%,60%)] — CSS variable: --color-primary: hsl(263, 40%, 60%);