HSL(261, 90%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,90%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 90%, 82%) | color: hsl(261, 90%, 82%) | |
| HEX | #C5A8FA | color: #C5A8FA | |
| RGB | rgb(197, 168, 250) | color: rgb(197, 168, 250) | |
| CMYK | cmyk(21%, 33%, 0%, 2%) | — | |
| HSV | hsv(261, 33%, 98%) | — | |
| HWB | hwb(261 66% 2%) | color: hwb(261 66% 2%) | |
| OKLCH | oklch(0.7867 0.1178 299.96) | color: oklch(0.7867 0.1178 299.96) | |
| Lab | lab(74.05 26.7 -36.92) | color: lab(74.05 26.7 -36.92) | |
| LCH | lch(74.05 45.56 305.87) | color: lch(74.05 45.56 305.87) |
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)
#B8B8E6 — rgb(184, 184, 230)
Deuteranopia (Green-blind)
#BABCE1 — rgb(186, 188, 225)
Tritanopia (Blue-blind)
#C4D6D3 — rgb(196, 214, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 90%, 82%);
text
color: hsl(261, 90%, 82%);
border
border: 2px solid hsl(261, 90%, 82%);
gradient light
background: linear-gradient(to right, hsl(261, 90%, 100%), hsl(261, 90%, 82%));
gradient dark
background: linear-gradient(to right, hsl(261, 90%, 82%), hsl(261, 90%, 62%))
hex
background-color: #C5A8FA;
tailwind
bg-[hsl(261,90%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 90%, 82%, 0.4);
css variable
--color-primary: hsl(261, 90%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 90%, 82%)?
HEX: #C5A8FA | RGB: rgb(197, 168, 250) | CMYK: 21%, 33%, 0%, 2% | HSV: 261°, 33%, 98%. Copy any format from the conversion table above.
What colors go well with #C5A8FA?
The complementary color is HSL(81, 90%, 82%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 90%, 82%) in CSS?
As HSL: color: hsl(261, 90%, 82%); — As HEX: color: #C5A8FA; — As RGB: color: rgb(197, 168, 250); — Tailwind CSS: bg-[hsl(261,90%,82%)] — CSS variable: --color-primary: hsl(261, 90%, 82%);