HSL(264, 90%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,90%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 90%, 60%) | color: hsl(264, 90%, 60%) | |
| HEX | #873DF5 | color: #873DF5 | |
| RGB | rgb(135, 61, 245) | color: rgb(135, 61, 245) | |
| CMYK | cmyk(45%, 75%, 0%, 4%) | — | |
| HSV | hsv(264, 75%, 96%) | — | |
| HWB | hwb(264 24% 4%) | color: hwb(264 24% 4%) | |
| OKLCH | oklch(0.5626 0.2525 295.24) | color: oklch(0.5626 0.2525 295.24) | |
| Lab | lab(45.74 67.1 -79.7) | color: lab(45.74 67.1 -79.7) | |
| LCH | lch(45.74 104.18 310.09) | color: lch(45.74 104.18 310.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6766C8 — rgb(103, 102, 200)
Deuteranopia (Green-blind)
#6B71BE — rgb(107, 113, 190)
Tritanopia (Blue-blind)
#83A59E — rgb(131, 165, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 90%, 60%);
text
color: hsl(264, 90%, 60%);
border
border: 2px solid hsl(264, 90%, 60%);
gradient light
background: linear-gradient(to right, hsl(264, 90%, 80%), hsl(264, 90%, 60%));
gradient dark
background: linear-gradient(to right, hsl(264, 90%, 60%), hsl(264, 90%, 40%))
hex
background-color: #873DF5;
tailwind
bg-[hsl(264,90%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 90%, 60%, 0.4);
css variable
--color-primary: hsl(264, 90%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 90%, 60%)?
HEX: #873DF5 | RGB: rgb(135, 61, 245) | CMYK: 45%, 75%, 0%, 4% | HSV: 264°, 75%, 96%. Copy any format from the conversion table above.
What colors go well with #873DF5?
The complementary color is HSL(84, 90%, 60%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 90%, 60%) in CSS?
As HSL: color: hsl(264, 90%, 60%); — As HEX: color: #873DF5; — As RGB: color: rgb(135, 61, 245); — Tailwind CSS: bg-[hsl(264,90%,60%)] — CSS variable: --color-primary: hsl(264, 90%, 60%);