HSL(258, 99%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,99%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 99%, 78%) | color: hsl(258, 99%, 78%) | |
| HEX | #B18FFE | color: #B18FFE | |
| RGB | rgb(177, 143, 254) | color: rgb(177, 143, 254) | |
| CMYK | cmyk(30%, 44%, 0%, 0%) | — | |
| HSV | hsv(258, 44%, 100%) | — | |
| HWB | hwb(258 56% 0%) | color: hwb(258 56% 0%) | |
| OKLCH | oklch(0.7268 0.1592 296.34) | color: oklch(0.7268 0.1592 296.34) | |
| Lab | lab(66.63 35.93 -50.83) | color: lab(66.63 35.93 -50.83) | |
| LCH | lch(66.63 62.25 305.26) | color: lch(66.63 62.25 305.26) |
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)
#A2A2E3 — rgb(162, 162, 227)
Deuteranopia (Green-blind)
#A4A7DD — rgb(164, 167, 221)
Tritanopia (Blue-blind)
#AFCEC9 — rgb(175, 206, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 99%, 78%);
text
color: hsl(258, 99%, 78%);
border
border: 2px solid hsl(258, 99%, 78%);
gradient light
background: linear-gradient(to right, hsl(258, 99%, 98%), hsl(258, 99%, 78%));
gradient dark
background: linear-gradient(to right, hsl(258, 99%, 78%), hsl(258, 99%, 58%))
hex
background-color: #B18FFE;
tailwind
bg-[hsl(258,99%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 99%, 78%, 0.4);
css variable
--color-primary: hsl(258, 99%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 99%, 78%)?
HEX: #B18FFE | RGB: rgb(177, 143, 254) | CMYK: 30%, 44%, 0%, 0% | HSV: 258°, 44%, 100%. Copy any format from the conversion table above.
What colors go well with #B18FFE?
The complementary color is HSL(78, 99%, 78%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 99%, 78%) in CSS?
As HSL: color: hsl(258, 99%, 78%); — As HEX: color: #B18FFE; — As RGB: color: rgb(177, 143, 254); — Tailwind CSS: bg-[hsl(258,99%,78%)] — CSS variable: --color-primary: hsl(258, 99%, 78%);