HSL(267, 45%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,45%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 45%, 74%) | color: hsl(267, 45%, 74%) | |
| HEX | #BA9FDB | color: #BA9FDB | |
| RGB | rgb(186, 159, 219) | color: rgb(186, 159, 219) | |
| CMYK | cmyk(15%, 27%, 0%, 14%) | — | |
| HSV | hsv(267, 27%, 86%) | — | |
| HWB | hwb(267 63% 14%) | color: hwb(267 63% 14%) | |
| OKLCH | oklch(0.7473 0.0894 304.88) | color: oklch(0.7473 0.0894 304.88) | |
| Lab | lab(69.72 21.47 -26.77) | color: lab(69.72 21.47 -26.77) | |
| LCH | lch(69.72 34.32 308.73) | color: lch(69.72 34.32 308.73) |
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)
#AEAECC — rgb(174, 174, 204)
Deuteranopia (Green-blind)
#B0B2C9 — rgb(176, 178, 201)
Tritanopia (Blue-blind)
#B9C1BF — rgb(185, 193, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 45%, 74%);
text
color: hsl(267, 45%, 74%);
border
border: 2px solid hsl(267, 45%, 74%);
gradient light
background: linear-gradient(to right, hsl(267, 45%, 94%), hsl(267, 45%, 74%));
gradient dark
background: linear-gradient(to right, hsl(267, 45%, 74%), hsl(267, 45%, 54%))
hex
background-color: #BA9FDB;
tailwind
bg-[hsl(267,45%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 45%, 74%, 0.4);
css variable
--color-primary: hsl(267, 45%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 45%, 74%)?
HEX: #BA9FDB | RGB: rgb(186, 159, 219) | CMYK: 15%, 27%, 0%, 14% | HSV: 267°, 27%, 86%. Copy any format from the conversion table above.
What colors go well with #BA9FDB?
The complementary color is HSL(87, 45%, 74%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 45%, 74%) in CSS?
As HSL: color: hsl(267, 45%, 74%); — As HEX: color: #BA9FDB; — As RGB: color: rgb(186, 159, 219); — Tailwind CSS: bg-[hsl(267,45%,74%)] — CSS variable: --color-primary: hsl(267, 45%, 74%);