HSL(267, 77%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,77%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 77%, 56%) | color: hsl(267, 77%, 56%) | |
| HEX | #8638E5 | color: #8638E5 | |
| RGB | rgb(134, 56, 229) | color: rgb(134, 56, 229) | |
| CMYK | cmyk(41%, 76%, 0%, 10%) | — | |
| HSV | hsv(267, 76%, 90%) | — | |
| HWB | hwb(267 22% 10%) | color: hwb(267 22% 10%) | |
| OKLCH | oklch(0.5432 0.2411 298.29) | color: oklch(0.5432 0.2411 298.29) | |
| Lab | lab(43.59 65.16 -74.2) | color: lab(43.59 65.16 -74.2) | |
| LCH | lch(43.59 98.75 311.29) | color: lch(43.59 98.75 311.29) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6464BB — rgb(100, 100, 187)
Deuteranopia (Green-blind)
#696FB1 — rgb(105, 111, 177)
Tritanopia (Blue-blind)
#829A93 — rgb(130, 154, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 77%, 56%);
text
color: hsl(267, 77%, 56%);
border
border: 2px solid hsl(267, 77%, 56%);
gradient light
background: linear-gradient(to right, hsl(267, 77%, 76%), hsl(267, 77%, 56%));
gradient dark
background: linear-gradient(to right, hsl(267, 77%, 56%), hsl(267, 77%, 36%))
hex
background-color: #8638E5;
tailwind
bg-[hsl(267,77%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 77%, 56%, 0.4);
css variable
--color-primary: hsl(267, 77%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 77%, 56%)?
HEX: #8638E5 | RGB: rgb(134, 56, 229) | CMYK: 41%, 76%, 0%, 10% | HSV: 267°, 76%, 90%. Copy any format from the conversion table above.
What colors go well with #8638E5?
The complementary color is HSL(87, 77%, 56%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 77%, 56%) in CSS?
As HSL: color: hsl(267, 77%, 56%); — As HEX: color: #8638E5; — As RGB: color: rgb(134, 56, 229); — Tailwind CSS: bg-[hsl(267,77%,56%)] — CSS variable: --color-primary: hsl(267, 77%, 56%);