HSL(265, 42%, 74%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,42%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 42%, 74%) | color: hsl(265, 42%, 74%) | |
| HEX | #B8A1D9 | color: #B8A1D9 | |
| RGB | rgb(184, 161, 217) | color: rgb(184, 161, 217) | |
| CMYK | cmyk(15%, 26%, 0%, 15%) | — | |
| HSV | hsv(265, 26%, 85%) | — | |
| HWB | hwb(265 63% 15%) | color: hwb(265 63% 15%) | |
| OKLCH | oklch(0.7485 0.0828 303.23) | color: oklch(0.7485 0.0828 303.23) | |
| Lab | lab(69.96 19.29 -25.32) | color: lab(69.96 19.29 -25.32) | |
| LCH | lch(69.96 31.83 307.3) | color: lch(69.96 31.83 307.3) |
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)
#AEAECB — rgb(174, 174, 203)
Deuteranopia (Green-blind)
#AFB1C8 — rgb(175, 177, 200)
Tritanopia (Blue-blind)
#B7C1BE — rgb(183, 193, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 42%, 74%);
text
color: hsl(265, 42%, 74%);
border
border: 2px solid hsl(265, 42%, 74%);
gradient light
background: linear-gradient(to right, hsl(265, 42%, 94%), hsl(265, 42%, 74%));
gradient dark
background: linear-gradient(to right, hsl(265, 42%, 74%), hsl(265, 42%, 54%))
hex
background-color: #B8A1D9;
tailwind
bg-[hsl(265,42%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 42%, 74%, 0.4);
css variable
--color-primary: hsl(265, 42%, 74%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 42%, 74%)?
HEX: #B8A1D9 | RGB: rgb(184, 161, 217) | CMYK: 15%, 26%, 0%, 15% | HSV: 265°, 26%, 85%. Copy any format from the conversion table above.
What colors go well with #B8A1D9?
The complementary color is HSL(85, 42%, 74%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 42%, 74%) in CSS?
As HSL: color: hsl(265, 42%, 74%); — As HEX: color: #B8A1D9; — As RGB: color: rgb(184, 161, 217); — Tailwind CSS: bg-[hsl(265,42%,74%)] — CSS variable: --color-primary: hsl(265, 42%, 74%);