HSL(264, 100%, 77%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,100%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 100%, 77%) | color: hsl(264, 100%, 77%) | |
| HEX | #B98AFF | color: #B98AFF | |
| RGB | rgb(185, 138, 255) | color: rgb(185, 138, 255) | |
| CMYK | cmyk(27%, 46%, 0%, 0%) | — | |
| HSV | hsv(264, 46%, 100%) | — | |
| HWB | hwb(264 54% 0%) | color: hwb(264 54% 0%) | |
| OKLCH | oklch(0.7262 0.1694 300.81) | color: oklch(0.7262 0.1694 300.81) | |
| Lab | lab(66.3 41.05 -51.86) | color: lab(66.3 41.05 -51.86) | |
| LCH | lch(66.3 66.14 308.36) | color: lch(66.3 66.14 308.36) |
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)
#A5A4E3 — rgb(165, 164, 227)
Deuteranopia (Green-blind)
#A7ABDC — rgb(167, 171, 220)
Tritanopia (Blue-blind)
#B7CCC7 — rgb(183, 204, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 100%, 77%);
text
color: hsl(264, 100%, 77%);
border
border: 2px solid hsl(264, 100%, 77%);
gradient light
background: linear-gradient(to right, hsl(264, 100%, 97%), hsl(264, 100%, 77%));
gradient dark
background: linear-gradient(to right, hsl(264, 100%, 77%), hsl(264, 100%, 57%))
hex
background-color: #B98AFF;
tailwind
bg-[hsl(264,100%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 100%, 77%, 0.4);
css variable
--color-primary: hsl(264, 100%, 77%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 100%, 77%)?
HEX: #B98AFF | RGB: rgb(185, 138, 255) | CMYK: 27%, 46%, 0%, 0% | HSV: 264°, 46%, 100%. Copy any format from the conversion table above.
What colors go well with #B98AFF?
The complementary color is HSL(84, 100%, 77%). 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, 100%, 77%) in CSS?
As HSL: color: hsl(264, 100%, 77%); — As HEX: color: #B98AFF; — As RGB: color: rgb(185, 138, 255); — Tailwind CSS: bg-[hsl(264,100%,77%)] — CSS variable: --color-primary: hsl(264, 100%, 77%);