HSL(278, 45%, 69%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,45%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 45%, 69%) | color: hsl(278, 45%, 69%) | |
| HEX | #B98CD4 | color: #B98CD4 | |
| RGB | rgb(185, 140, 212) | color: rgb(185, 140, 212) | |
| CMYK | cmyk(13%, 34%, 0%, 17%) | — | |
| HSV | hsv(278, 34%, 83%) | — | |
| HWB | hwb(278 55% 17%) | color: hwb(278 55% 17%) | |
| OKLCH | oklch(0.7088 0.113 312.24) | color: oklch(0.7088 0.113 312.24) | |
| Lab | lab(64.82 30.24 -30.45) | color: lab(64.82 30.24 -30.45) | |
| LCH | lch(64.82 42.91 314.8) | color: lch(64.82 42.91 314.8) |
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)
#A6A5C3 — rgb(166, 165, 195)
Deuteranopia (Green-blind)
#A8ACBE — rgb(168, 172, 190)
Tritanopia (Blue-blind)
#B7B5B2 — rgb(183, 181, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 45%, 69%);
text
color: hsl(278, 45%, 69%);
border
border: 2px solid hsl(278, 45%, 69%);
gradient light
background: linear-gradient(to right, hsl(278, 45%, 89%), hsl(278, 45%, 69%));
gradient dark
background: linear-gradient(to right, hsl(278, 45%, 69%), hsl(278, 45%, 49%))
hex
background-color: #B98CD4;
tailwind
bg-[hsl(278,45%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 45%, 69%, 0.4);
css variable
--color-primary: hsl(278, 45%, 69%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 45%, 69%)?
HEX: #B98CD4 | RGB: rgb(185, 140, 212) | CMYK: 13%, 34%, 0%, 17% | HSV: 278°, 34%, 83%. Copy any format from the conversion table above.
What colors go well with #B98CD4?
The complementary color is HSL(98, 45%, 69%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 45%, 69%) in CSS?
As HSL: color: hsl(278, 45%, 69%); — As HEX: color: #B98CD4; — As RGB: color: rgb(185, 140, 212); — Tailwind CSS: bg-[hsl(278,45%,69%)] — CSS variable: --color-primary: hsl(278, 45%, 69%);